Quantcast
Channel: Hortonworks » All Topics
Viewing all articles
Browse latest Browse all 5121

Need help for Hive Streaming (HDP 2.1)

$
0
0

Replies: 0

Hi,

I’m playing around with Hive streaming preview using the example code from https://cwiki.apache.org/confluence/display/Hive/Streaming+Data+Ingest. I get the following error:
14/07/23 16:58:31 INFO hive.metastore: Trying to connect to metastore with URI thrift://localhost:9083
14/07/23 16:58:32 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable
14/07/23 16:58:32 INFO hive.metastore: Connected to metastore.
14/07/23 16:58:33 INFO hive.metastore: Trying to connect to metastore with URI thrift://localhost:9083
14/07/23 16:58:33 INFO hive.metastore: Connected to metastore.
14/07/23 16:58:34 WARN hdfs.BlockReaderLocal: The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.
14/07/23 16:58:34 INFO session.SessionState: No Tez session required at this point. hive.execution.engine=mr.
14/07/23 16:58:35 INFO log.PerfLogger: <PERFLOG method=Driver.run from=org.apache.hadoop.hive.ql.Driver>
14/07/23 16:58:35 INFO log.PerfLogger: <PERFLOG method=TimeToSubmit from=org.apache.hadoop.hive.ql.Driver>
14/07/23 16:58:35 INFO hive.metastore: Trying to connect to metastore with URI thrift://localhost:9083
14/07/23 16:58:35 INFO hive.metastore: Connected to metastore.
FAILED: Error in determing valid transactions: Error communicating with the metastore
14/07/23 16:58:35 ERROR ql.Driver: FAILED: Error in determing valid transactions: Error communicating with the metastore
org.apache.hadoop.hive.ql.lockmgr.LockException: Error communicating with the metastore
at org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.getValidTxns(DbTxnManager.java:281)
at org.apache.hadoop.hive.ql.Driver.recordValidTxns(Driver.java:843)
[...]
at HSMain.main(HSMain.java:32)
Caused by: org.apache.thrift.TApplicationException: Internal error processing get_open_txns
at org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71)
[...]

I’m working on Sandbox 2.1. I used the CREATE TABLE statement listed in the example. Are there any other configuration changes I need to make to the Hadoop&Hive setup on the sandbox?

Thanks,
Alex


Viewing all articles
Browse latest Browse all 5121

Trending Articles



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