hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/HBaseIntegration" by JohnSichi
Date Tue, 24 Aug 2010 22:03:10 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hive/HBaseIntegration" page has been changed by JohnSichi.
http://wiki.apache.org/hadoop/Hive/HBaseIntegration?action=diff&rev1=30&rev2=31

--------------------------------------------------

  Here's an example using CLI from a source build environment, targeting a single-node HBase
server:
  
  {{{
- $HIVE_SRC/build/dist/bin/hive --auxpath $HIVE_SRC/build/hbase-handler/hive_hbase-handler.jar,$HIVE_SRC/hbase-handler/lib/hbase-0.20.3.jar,$HIVE_SRC/hbase-handler/lib/zookeeper-3.2.2.jar
-hiveconf hbase.master=hbase.yoyodyne.com:60000
+ $HIVE_SRC/build/dist/bin/hive --auxpath $HIVE_SRC/build/dist/lib/hive_hbase-handler.jar,$HIVE_SRC/build/dist/lib/hbase-0.20.3.jar,$HIVE_SRC/hbase-handler/build/dist/lib/zookeeper-3.2.2.jar
-hiveconf hbase.master=hbase.yoyodyne.com:60000
  }}}
  
  Here's an example which instead targets a distributed HBase cluster where a quorum of 3
zookeepers is used to elect the HBase master:
  
  {{{
- $HIVE_SRC/build/dist/bin/hive --auxpath $HIVE_SRC/build/hbase-handler/hive_hbase-handler.jar,$HIVE_SRC/hbase-handler/lib/hbase-0.20.3.jar,$HIVE_SRC/hbase-handler/lib/zookeeper-3.2.2.jar
-hiveconf hbase.zookeeper.quorum=zk1.yoyodyne.com,zk2.yoyodyne.com,zk3.yoyodyne.com
+ $HIVE_SRC/build/dist/bin/hive --auxpath $HIVE_SRC/build/dist/lib/hive_hbase-handler.jar,$HIVE_SRC/build/dist/lib/hbase-0.20.3.jar,$HIVE_SRC/build/dist/lib/zookeeper-3.2.2.jar
-hiveconf hbase.zookeeper.quorum=zk1.yoyodyne.com,zk2.yoyodyne.com,zk3.yoyodyne.com
  }}}
  
  The handler requires Hadoop 0.20 or higher, and has only been tested

Mime
View raw message