storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davorin Vukelić <davo...@crossing-technologies.com>
Subject HIveBolt
Date Tue, 25 Oct 2016 12:16:25 GMT
HI,

can someone explain to me how to adjust HiveBolt? I use storm-hive 
0.10.1 library.
We made topology which  prepares 500 messages per second for storing 
into Hive.

  I frequently get this ERROR:

org.apache.storm.hive.common.HiveWriter$TxnFailure: Failed switching to 
next Txn in TxnBatch TxnIds=[21862479...21862481] on endPoint 
={metaStoreUri='thrift://hostname:9083', database='database', 
table='table', partitionVals=[xxxxx, 2016-10-18] }
.......
Caused by: org.apache.hive.hcatalog.streaming.TransactionError: Unable 
to acquire lock on {metaStoreUri='.......
.........
Caused by: org.apache.hadoop.hive.metastore.api.TxnAbortedException: 
Transaction txnid:21862481 already aborted
.........

What happened with transaction 21862481? Will tuples/rows in this 
transaction be deleted or HiveBolt will try to commit this transaction 
again?

Lp,

*Davorin Vukelic!*


Mime
View raw message