hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Kim <benkimkim...@gmail.com>
Subject Hive with HBase ACL possible?
Date Wed, 20 Jun 2012 01:43:59 GMT
Has anyone been success full with integrating HBase ACL with Hive?
Recent versions of HBase (0.92.1 and 0.94.0) come with ACL features.

I tried to integrate Hive 0.9.0 with HBase 0.94.0.
I ran hive cli client like following
hive --auxpath
"$HIVE_HOME/lib/hive-hbase-handler-0.9.0.jar,$HIVE_HOME/lib/hbase-0.94.0.jar,$HIVE_HOME/lib/zookeeper-3.4.3.jar"
-hiveconf hbase.zookeeper.quorum=hbase-02

And if I run
CREATE TABLE hbasetest(key string, value string) STORED BY
'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES
("hbase.columns.mapping" = ":key,test:val") TBLPROPERTIES ("hbase.table.name"
= "hbasetest");

The cli pause for very long time and throws this error
FAILED: Error in metadata:
MetaException(message:org.apache.hadoop.hbase.MasterNotRunningException:
Retried 10 times
        at
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:127)
        at
org.apache.hadoop.hive.hbase.HBaseStorageHandler.getHBaseAdmin(HBaseStorageHandler.java:73)
        at
org.apache.hadoop.hive.hbase.HBaseStorageHandler.preCreateTable(HBaseStorageHandler.java:147)


the hive server log:
2012-06-20 10:41:23,780 WARN  client.ZooKeeperSaslClient
(ZooKeeperSaslClient.java:<init>(123)) - SecurityException:
java.lang.SecurityException: Unable to locate a login configuration
occurred when trying to find JAAS configuration.

HBase receives nothing

Can anyone help?
-- 

*Benjamin Kim*
*benkimkimben at gmail*

Mime
View raw message