Author: nspiegelberg
Date: Tue Oct 11 02:00:18 2011
New Revision: 1181341
URL: http://svn.apache.org/viewvc?rev=1181341&view=rev
Log:
Add option to directly access ZooKeeper CLI instead of going through HBase
shell. This is especially useful because HBase shell requires a working
HMaster. To try: bin/hbase zkcli
Modified:
hbase/branches/0.89/bin/hbase
Modified: hbase/branches/0.89/bin/hbase
URL:
http://svn.apache.org/viewvc/hbase/branches/0.89/bin/hbase?rev=1181341&r1=1181340&r2=1181341&view=diff
==============================================================================
--- hbase/branches/0.89/bin/hbase (original)
+++ hbase/branches/0.89/bin/hbase Tue Oct 11 02:00:18 2011
@@ -259,6 +259,8 @@ elif [ "$COMMAND" = "zookeeper" ] ; then
if [ "$1" != "stop" ] ; then
HBASE_OPTS="$HBASE_OPTS $HBASE_ZOOKEEPER_OPTS"
fi
+elif [ "$COMMAND" = "zkcli" ] ; then
+ CLASS='org.apache.zookeeper.ZooKeeperMain'
else
CLASS=$COMMAND
fi