hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-12513 Graceful stop script does not restore the balancer state
Date Tue, 18 Nov 2014 21:14:48 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 14dc08c07 -> 69f685e7c


HBASE-12513 Graceful stop script does not restore the balancer state

Signed-off-by: stack <stack@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/69f685e7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/69f685e7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/69f685e7

Branch: refs/heads/master
Commit: 69f685e7cfa4d0e2194694579824d3485efc550c
Parents: 14dc08c
Author: Florin Broasca <fbroasca@adobe.com>
Authored: Tue Nov 18 15:53:55 2014 +0200
Committer: stack <stack@apache.org>
Committed: Tue Nov 18 13:14:41 2014 -0800

----------------------------------------------------------------------
 bin/graceful_stop.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/69f685e7/bin/graceful_stop.sh
----------------------------------------------------------------------
diff --git a/bin/graceful_stop.sh b/bin/graceful_stop.sh
index 8030600..70a0e1a 100755
--- a/bin/graceful_stop.sh
+++ b/bin/graceful_stop.sh
@@ -160,7 +160,7 @@ fi
 # Restore balancer state
 if [ $HBASE_BALANCER_STATE != "false" ]; then
   log "Restoring balancer state to " $HBASE_BALANCER_STATE
-  log "balance_switch $HBASE_BALANCER_STATE" | "$bin"/hbase --config ${HBASE_CONF_DIR} shell
&> /dev/null
+  echo "balance_switch $HBASE_BALANCER_STATE" | "$bin"/hbase --config ${HBASE_CONF_DIR} shell
&> /dev/null
 fi
 
 # Cleanup tmp files.


Mime
View raw message