Batch upsert into salted table not upserting all rows thru jdbc t4 driver
Bug #1380734 reported by
Aruna Sadashiva
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Released
|
Critical
|
Oliver Bucaojit |
Bug Description
Batch upsert into salted table not upserting all rows thru jdbc t4 driver. Works ok with T2 driver.
Batch upsert into regular table works ok.
Batch insert is ok with regular and salted tables.
Same problem on hbase 0.94 too. Ran into this issue when insert was changed to upsert in the batch tests.
description: | updated |
tags: |
added: dtm removed: client-jdbc-t4 |
Changed in trafodion: | |
importance: | High → Critical |
milestone: | none → r1.0 |
To post a comment you must log in.
Tested on a workstation. Seeing the following, hence changing tag to dtm for further investigation.
/designs/ seaquest/ narain/ traftests/ jdbc/basic> date seaquest/ narain/ traftests/ jdbc/basic> java -Dprop=t4prop batchall 100 u salt seaquest/ narain/ traftests/ jdbc/basic> date
Tue Oct 14 23:05:07 UTC 2014
/designs/
Params accepted: batchall <batchsize, default 1000> <i|u> <salt>
Running with values: batchsize 100, Upsert, salted
bs: 100, total: 100
insertCount array length: 100
Batch All: Total of 0 warning retrieved!!
Batch All: Update count :100
Batch All : select * returned: 0
Batch All: Verifying using Select all
Batch All : ERROR: Expected rows:100 Actual rows: 0
Batch All : select count * returned: 0
Batch All: Verifying using Select count *
Batch All : ERROR: Expected rows:100 Actual rows: 0
Batch All : FAILED
/designs/
Tue Oct 14 23:05:45 UTC 2014
From dtm log:
2014-10-14 23:05:32,378 ERROR transactional. TransactionMana ger: doCommitX, copro ionException: java.io. IOException: UnknownTransact ionExcep TransactionMana ger: exception in doC hadoop. hbase.client. transactional. UnknownTransact ionExceptio TransactionMana ger: Got unknown excep TransactionMana ger: exception in doA Exception: java.io. IOException: UnknownTransact ionEx TransactionMana ger: Got unknown excep TransactionMana ger: doAbortX -- TRAFO TABALL; hconnection- 0x590b4f1a region location being refreshed HConnectionMana ger$HConnection Implementatio houston. hp.com: 49746 as a location of TRAFODION. T4QA.TABALL, \ x00\x04\ x00\x00\ x00\x00\ x00\x00\ x00\x00, 1413327929891. f96379bc6f8cd67 bc4 TRAFODION. T4QA.TABALL from cache TransactionMana ger: Abort HasExcepti TransactionMana ger: Abort HasExcepti IOException: UnknownTransact ionException
cessor UnknownTransact
tion
2014-10-14 23:05:32,378 ERROR transactional.
ommitX : org.apache.
n
2014-10-14 23:05:32,378 INFO transactional.
tion during commit. Transaction: [2004]
2014-10-14 23:05:32,378 ERROR transactional.
bortX (ignoring): java.lang.
ception
2014-10-14 23:05:32,378 INFO transactional.
tion during abort. Transaction: [2004]
2014-10-14 23:05:32,418 INFO transactional.
DION.T4QA.
2014-10-14 23:05:32,420 DEBUG client.
n: Removed g4t3037.
x00\x00\
e4f7ac7ced031c. for tableName=
2014-10-14 23:05:32,422 ERROR transactional.
on true: true
2014-10-14 23:05:32,422 ERROR transactional.
on true: java.io.
====
in zz* files after tracing enabled (which may be expected):
23:05:28.761.004 trace(14763): tm_process_msg : tm 0, type 207, msgid 32 :CTmTxMessage( req, msgid) : ENTRY, r :initialize : ENTRY, msgid(32). :initialize : EXIT, msgid(32). :CTmTxMessage : EXIT, msgid(32). req_status, ID 2002, ENTRY :~CTmTxMessage :...
23:05:28.761.025 trace(14763): CTmTxMessage:
equest(207), msgid(32).
23:05:28.761.030 trace(14763): CTmTxMessage:
23:05:28.761.034 trace(14763): CTmTxMessage:
23:05:28.761.037 trace(14763): CTmTxMessage:
23:05:28.761.043 trace(14763): tm_process_
23:05:28.761.048 trace(14763): tm_notx_check - unable to complete, returning err
or FENOTRANSID
23:05:28.761.051 trace(14763): CTmTxMessage::reply : ENTRY. msgid(32), reply cod
e(208), error(75).
23:05:28.761.069 trace(14763): CTmTxMessage::reply EXIT. XMSG_REPLY_ msgid(32),
error(75).
23:05:28.761.075 trace(14763): CTmTxMessage: