Hi Guys,

I have installed Hive (0.8.0 version), and HBase (0.90.5).
I had to recompile hive for the handler.
Anyway everything works nicely when I am in command line.

Now, I need to launch hive queries from Java. I am using JDBC.
It works for all the queries except the one using the handler.

It looks logical since I have to give some parameters,
in command line for example:

 $HIVE_SRC/build/dist/bin/hive --auxpath
$HIVE_SRC/build/dist/lib/hive-hbase-handler-0.7.0.jar,$HIVE_SRC/build/dist/lib/hbase-0.89.0-SNAPSHOT.jar,$HIVE_SRC/build/dist/lib/zookeeper-3.3.1.jar
-hiveconf hbase.master=hbase.yoyodyne.com:60000


How can I give what is missing directly from Java?
I think the only thing missing is the quorum since I have already loaded
the library, is it?

If there is no way to turn around I know I can call the system, however I
would prefer another solution.

Thanks a lot,

Étienne

Reply via email to