[ 
https://issues.apache.org/jira/browse/HBASE-8379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636920#comment-13636920
 ] 

Ted Yu commented on HBASE-8379:
-------------------------------

bq. Maybe we can change "Restoring balancer status" by "Restarting balancer" 
only if HBASE_BALANCER_STATE is true?

Good. There is no need to turn off balancer if it was off before 
bin/graceful_stop.sh was called.
{code}
+echo balance_switch $HBASE_BALANCER_STATE | "$bin"/hbase --config 
${HBASE_CONF_DIR} shell &> /dev/null
{code}
Can you enclose the above command in back quotes and display its return value ?
                
> 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

Reply via email to