hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1172888 - in /hbase/trunk: CHANGES.txt bin/start-hbase.sh bin/stop-hbase.sh
Date Mon, 19 Sep 2011 23:07:53 GMT
Author: stack
Date: Mon Sep 19 23:07:53 2011
New Revision: 1172888

URL: http://svn.apache.org/viewvc?rev=1172888&view=rev
Log:
HBASE-4445 Not passing --config when checking if distributed mode or not

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/bin/start-hbase.sh
    hbase/trunk/bin/stop-hbase.sh

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1172888&r1=1172887&r2=1172888&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Mon Sep 19 23:07:53 2011
@@ -614,6 +614,7 @@ Release 0.90.5 - Unreleased
                (Jonathan Hsieh)
    HBASE-4238  CatalogJanitor can clear a daughter that split before
                processing its parent
+   HBASE-4445  Not passing --config when checking if distributed mode or not
 
   IMPROVEMENT
    HBASE-4205  Enhance HTable javadoc (Eric Charles)

Modified: hbase/trunk/bin/start-hbase.sh
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/start-hbase.sh?rev=1172888&r1=1172887&r2=1172888&view=diff
==============================================================================
--- hbase/trunk/bin/start-hbase.sh (original)
+++ hbase/trunk/bin/start-hbase.sh Mon Sep 19 23:07:53 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/trunk/bin/stop-hbase.sh
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/stop-hbase.sh?rev=1172888&r1=1172887&r2=1172888&view=diff
==============================================================================
--- hbase/trunk/bin/stop-hbase.sh (original)
+++ hbase/trunk/bin/stop-hbase.sh Mon Sep 19 23:07:53 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



Mime
View raw message