Sparky Sparky - 1 year ago 197
Java Question

Talend ETL Job Error in tOracleOutput Component

I am a newbie to TalendETL and am using Talend Open Studio for Big Data version 5.4.1 . I have developed a simple Talend ETL job that picks up data from a csv file and inserts data into my local Oracle Database. Below is how my package looks:

enter image description here

The job returns an exception that

after the last record of the csv file. But I'm uncertain as to why it should return that in the first place? I checked out the solution given on this link:

But it doesn't seem to work at all. I have the latest driver for the oracle component and increasing/decreasing the commit size does not seem to affect it.

Can someone please help me out on this? Please let me know in case more information is needed.

P.S: The complete error log is below:-

Starting job Kaggle_Data_Load_Training at 09:31 25/06/2014.

[statistics] connecting to socket on port 3957
[statistics] connected
Exception in component tOracleOutput_1
java.lang.ArrayIndexOutOfBoundsException: -32203
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(
at test.kaggle_data_load_training_0_1.Kaggle_Data_Load_Training.tFileInputDelimited_1Process(
at test.kaggle_data_load_training_0_1.Kaggle_Data_Load_Training.runJobInTOS(
at test.kaggle_data_load_training_0_1.Kaggle_Data_Load_Training.main(
[statistics] disconnected
Job Kaggle_Data_Load_Training ended at 09:31 25/06/2014. [exit code=1]

Answer Source

Can you try to decrease the commit size on the tOracleOutput component? I remember there is some kind of bug in 5.4.1. of TOS which resulted in this error. Therefore please lower commit size (let's say to 500) and see if the problem still exists. Here's more information about the bug:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download