[
https://issues.apache.org/jira/browse/HBASE-8379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636902#comment-13636902
]
Ted Yu commented on HBASE-8379:
-------------------------------
{code}
+echo balance_switch $HBASE_BALANCER_STATE | "$bin"/hbase --config
${HBASE_CONF_DIR} shell &> /dev/null
{code}
Should 'balance_switch $HBASE_BALANCER_STATE' be enclosed in quotes ?
Can you show us sample run of the command ?
> bin/graceful_stop.sh does not return the balancer to original state
> -------------------------------------------------------------------
>
> Key: HBASE-8379
> URL: https://issues.apache.org/jira/browse/HBASE-8379
> Project: HBase
> Issue Type: Bug
> Components: scripts
> Reporter: Nick Dimiduk
> Attachments: HBASE-8379-v0-trunk.patch
>
>
> {{graceful_stop.sh}} starts by explicitly disabling the balancer. It should
> make note of the original balancer state and then restore that state upon
> completion.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira