hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8379) bin/graceful_stop.sh does not return the balancer to original state
Date Fri, 19 Apr 2013 21:53:16 GMT

    [ 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
+echo balance_switch $HBASE_BALANCER_STATE | "$bin"/hbase --config ${HBASE_CONF_DIR} shell
&> /dev/null
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

View raw message