Repository: hbase Updated Branches: refs/heads/0.98 7067f31e0 -> d019e37fb
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/d019e37f Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d019e37f Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d019e37f Branch: refs/heads/0.98 Commit: d019e37fb8efdc4267cb34b29c457c24368975fe Parents: 7067f31 Author: Florin Broasca <[email protected]> Authored: Tue Nov 18 15:53:55 2014 +0200 Committer: stack <[email protected]> Committed: Tue Nov 18 13:15:39 2014 -0800 ---------------------------------------------------------------------- bin/graceful_stop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/d019e37f/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.
