Author: stack
Date: Mon Sep 19 23:06:09 2011
New Revision: 1172886
URL: http://svn.apache.org/viewvc?rev=1172886&view=rev
Log:
HBASE-4445 Not passing --config when checking if distributed mode or not
Modified:
hbase/branches/0.90/CHANGES.txt
hbase/branches/0.90/bin/start-hbase.sh
hbase/branches/0.90/bin/stop-hbase.sh
Modified: hbase/branches/0.90/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1172886&r1=1172885&r2=1172886&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Mon Sep 19 23:06:09 2011
@@ -53,6 +53,7 @@ Release 0.90.5 - Unreleased
(ramkrishna.s.vasudevan)
HBASE-4400 .META. getting stuck if RS hosting it is dead and znode state
is in
RS_ZK_REGION_OPENED (ramkrishna.s.vasudevan)
+ HBASE-4445 Not passing --config when checking if distributed mode or not
IMPROVEMENT
HBASE-4205 Enhance HTable javadoc (Eric Charles)
Modified: hbase/branches/0.90/bin/start-hbase.sh
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/bin/start-hbase.sh?rev=1172886&r1=1172885&r2=1172886&view=diff
==============================================================================
--- hbase/branches/0.90/bin/start-hbase.sh (original)
+++ hbase/branches/0.90/bin/start-hbase.sh Mon Sep 19 23:06:09 2011
@@ -38,7 +38,7 @@ then
exit $errCode
fi
-distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool
hbase.cluster.distributed`
+distMode=`$bin/hbase --config "$HBASE_CONF_DIR"
org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed`
if [ "$distMode" == 'false' ]
Modified: hbase/branches/0.90/bin/stop-hbase.sh
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/bin/stop-hbase.sh?rev=1172886&r1=1172885&r2=1172886&view=diff
==============================================================================
--- hbase/branches/0.90/bin/stop-hbase.sh (original)
+++ hbase/branches/0.90/bin/stop-hbase.sh Mon Sep 19 23:06:09 2011
@@ -59,7 +59,7 @@ done
echo
# distributed == false means that the HMaster will kill ZK when it exits
-distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool
hbase.cluster.distributed`
+distMode=`$bin/hbase --config "$HBASE_CONF_DIR"
org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed`
if [ "$distMode" == 'true' ]
then
# TODO: store backup masters in ZooKeeper and have the primary send them a
shutdown message