Re: hive read/write hbase

2016-03-15 Thread songj songj
i entered 'add jar /home/hadoop/apache-hive-1.0.1-bin/lib/hive-hbase-handler-1.0.1.jar ' but it alose get the same exception. my hbase is 1.1.1 and hive is 1.0.1,maybe the version of handler.jar is wrong? why hive cluster need the hdfs(hdfs://A) of hbase cluster? Caused by: java.lang.IllegalA

Re: hive read/write hbase

2016-03-14 Thread Divya Gehlot
Hi, Do you have hive-hbase-handler.jar in hive classpath ? On 14 March 2016 at 21:28, songj songj wrote: > hi,i have two cluster,one is hbase(with a hdfs://A ) ,another is hive(with > a hdfs://B). > > i want to use hive shell to read/write hbase. > > when i enter hive shell and input as follow

hive read/write hbase

2016-03-14 Thread songj songj
hi,i have two cluster,one is hbase(with a hdfs://A ) ,another is hive(with a hdfs://B). i want to use hive shell to read/write hbase. when i enter hive shell and input as follows: hive>set hbase.zookeeper.quorum=10.24.31.99; hive> create external table inputTable (key string, value string)