Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Getting error while loading data in Oracle Db. (Auto commit error)

$
0
0
Please help,

Error Occur during the table output step.

Database connection is getting closed after first commit.


when I first gave 1000 as commit interval, 1000 records has been loaded.


when I increased to 5000, 5000 records were loaded.

Please see the attached log.

snapshot of Log:

2015/06/15 16:25:38 - UK_3 - Connected to database.
2015/06/15 16:25:38 - Load UKIA_2.0 - Connected to database [UK_3] (commit=1000)
2015/06/15 16:25:38 - UK_3 - Auto commit off
2015/06/15 16:25:38 - UKIA_0 - Step [Get rows from result.0] initialized flawlessly.
2015/06/15 16:25:38 - UKIA_0 - Step [Load UKIA_2.0] initialized flawlessly.
2015/06/15 16:25:38 - UKIA_0 - Transformation has allocated 2 threads and 1 rowsets.
2015/06/15 16:25:38 - Get rows from result.0 - Starting to run...
2015/06/15 16:25:38 - Load UKIA_2.0 - Starting to run...
2015/06/15 16:25:38 - Load UKIA_2.0 - Prepared statement : INSERT INTO UKIA_2 (PTCABS, CLIENT, CASENO, ID_NUM, FRAUDDTE, CATEGORY, ADD_INFO, LOADDATE, OPERATOR_ID, CONFIRMED_IND, ARCHIVE_DATE, TRANSACTION_TYPE, VARIABLE_DATA, TITLE_NARR, FIRST_NAME, SECOND_NAME, SURNAME, ORIG_ADDR_LINE_1, ORIG_ADDR_LINE_2, ORIG_ADDR_LINE_3, ORIG_ADDR_LINE_4, ORIG_ADDR_LINE_5, ORIG_POSTCODE, LNK_HOUSE_OCC_COUNT, LINK_PTCABS, LINK_INF_IND, MULTI_ADDR_IND, TIMESTAMP, FRAUD_CATEGORY, EXTRACT_IND, REFILING_IND, COMPANY_NUMBER, COMPANY_NAME, SUB_CAT_GRP_1, SUB_CAT_GRP_2, SUB_CAT_GRP_3, SUB_CAT_GRP_4, SUB_CAT_GRP_5, DATE_OF_BIRTH, PRODUCT_CODE, SECTION_29_FLAG, CASE_TYPE, SUBJECT_ROLE, SUBJECT_ROLE_QUALIFIER, CASEID, NAMEKEYA, NAMEKEYB, NAMEKEYC, NAMEKEYD, NAMEKEYE, NAMEKEYF, NAMEKEYASTD, NAMEKEYCSTD) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2015/06/15 16:25:38 - UK_3 - Commit on database connection [UK_3]
2015/06/15 16:25:38 - UK_3 - Rollback on database connection [UK_3]
2015/06/15 16:25:38 - UKIA_0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Errors detected!
2015/06/15 16:25:38 - Load UKIA_2.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Because of an error, this step can't continue:
2015/06/15 16:25:38 - UKIA_0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Errors detected!
2015/06/15 16:25:38 - Get rows from result.0 - Finished processing (I=0, O=0, R=11901, W=11901, U=0, E=0)
2015/06/15 16:25:38 - Load UKIA_2.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/06/15 16:25:38 - Load UKIA_2.0 - Error inserting row into table [UKIA_2] with values: [E080], [BOAO0010], [E0845E], [ 603], [], [Y], [CIFS0140], [], [I], [], [], [CHATTA], [], [QASIARMEHMOOD], [THE CORE], [], [COUNTY WAY], [], [BARNSLEY], [S70 2JW], [ 1], [E080], [A], [], [], [], [], [ 0], [], [], [], [], [], [], [UKBA], [], [CFR], [S1A], [AL1], [3237413], [2014/04/28 00:00:00.000], [2014/04/28 00:00:00.000], [2017/04/28 00:00:00.000], [1974/08/13 00:00:00.000], [CHATTAQASIARMEHMOOD], [CHTTQSRMHMD], [CHATTA], [CHTT], [C], [C], [null], [null]
2015/06/15 16:25:38 - Load UKIA_2.0 -
2015/06/15 16:25:38 - Load UKIA_2.0 - Unexpected error inserting row
2015/06/15 16:25:38 - Load UKIA_2.0 - -32233
2015/06/15 16:25:38 - Load UKIA_2.0 -
2015/06/15 16:25:38 - Load UKIA_2.0 -
2015/06/15 16:25:38 - Load UKIA_2.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:445)
2015/06/15 16:25:38 - Load UKIA_2.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:128)
2015/06/15 16:25:38 - Load UKIA_2.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
2015/06/15 16:25:38 - Load UKIA_2.0 - at java.lang.Thread.run(Thread.java:744)
2015/06/15 16:25:38 - Load UKIA_2.0 - Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
2015/06/15 16:25:38 - Load UKIA_2.0 - Unexpected error inserting row
2015/06/15 16:25:38 - Load UKIA_2.0 - -32233
2015/06/15 16:25:38 - Load UKIA_2.0 -
2015/06/15 16:25:38 - Load UKIA_2.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:341)
2015/06/15 16:25:38 - Load UKIA_2.0 - ... 3 more
2015/06/15 16:25:38 - Load UKIA_2.0 - Caused by: java.lang.ArrayIndexOutOfBoundsException: -32233
2015/06/15 16:25:38 - Load UKIA_2.0 - at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2677)
2015/06/15 16:25:38 - Load UKIA_2.0 - at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9255)
2015/06/15 16:25:38 - Load UKIA_2.0 - at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:210)
2015/06/15 16:25:38 - Load UKIA_2.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:315)
2015/06/15 16:25:38 - Load UKIA_2.0 - ... 3 more
2015/06/15 16:25:38 - Load UKIA_2.0 - Signaling 'output done' to 0 output rowsets.
2015/06/15 16:25:38 - UK_3 - Commit on database connection [UK_3]
2015/06/15 16:25:38 - Load UKIA_2.0 - Stopped while putting a row on the buffer
2015/06/15 16:25:38 - Load UKIA_2.0 - Stopped while putting a row on the buffer
2015/06/15 16:25:38 - Load UKIA_2.0 - Stopped while putting a row on the buffer
2015/06/15 16:25:38 - Load UKIA_2.0 - Stopped while putting a row on the buffer
2015/06/15 16:25:38 - Load UKIA_2.0 - Stopped while putting a row on the buffer
Attached Files

Viewing all articles
Browse latest Browse all 16689


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>