You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Ted Yu (JIRA)" <ji...@apache.org> on 2012/08/09 18:09:19 UTC

[jira] [Commented] (HBASE-6437) Avoid admin.balance during master initialize

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

Zhihong Ted Yu commented on HBASE-6437:
---------------------------------------

{code}
+    // if master not initialized, don't run balancer.
+    if (!this.initialized) {
+      LOG.debug("Master not yet initialized to run balancer.");
{code}
If you put the comment in the log, it would be clearer.
+1 overall.
                
> Avoid admin.balance during master initialize
> --------------------------------------------
>
>                 Key: HBASE-6437
>                 URL: https://issues.apache.org/jira/browse/HBASE-6437
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: rajeshbabu
>             Fix For: 0.92.2, 0.96.0, 0.94.2
>
>         Attachments: HBASE-6437_trunk.patch
>
>
> In HBASE-5850 many of the admin operations have been blocked till the master initializes.  But the balancer is not.  So this JIRA is to extend the PleaseHoldException in case of admin.balance() call before master is initialized.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira