hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "labtrax" <>
Subject multiple hive access
Date Thu, 19 May 2011 09:49:43 GMT

I am running a cloudera hadoop/hbase cluster. I trying to integrate hive with that.
I need multiple (read) accesses to hive per Java/jdbc-client. Is this possible in any way?

Following this it might not be possible...
But what does it means exactly "The HiveServer is currently single threaded, which could present
serious use limitations"...
If the hive server does it sequentially with correct results its ok for me.
See also this: (entry 27/Jan/11 15:38)

My initial plan was to get the concurrent accesses through multiple java clients in embded
mode. This seems not to work with a cluster unfortunately. Seems "embedded mode" means it
only works in hadoop embedded mode (without hdfs/cluster) on a single maschine.
I always get
 INFO metastore.HiveMetaStore: 0: Opening raw store with implemenation class:null
Exception in thread "main" java.lang.NullPointerException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getClass(
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.executeWithRetry(
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.<init>(
        at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.<init>(
        at org.apache.hadoop.hive.jdbc.HiveConnection.<init>(
        at org.apache.hadoop.hive.jdbc.HiveDriver.connect(
        at java.sql.DriverManager.getConnection(

Any clues?  

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro!

View raw message