Repository: hbase
Updated Branches:
  refs/heads/branch-1 7418bdb62 -> d3c9425c9


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

Signed-off-by: stack <[email protected]>


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

Branch: refs/heads/branch-1
Commit: d3c9425c9bd33d18f72cc669427a26e3da656853
Parents: 7418bdb
Author: Florin Broasca <[email protected]>
Authored: Tue Nov 18 15:53:55 2014 +0200
Committer: stack <[email protected]>
Committed: Tue Nov 18 13:15:14 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/d3c9425c/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.

Reply via email to