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/06/20 17:35:43 UTC

[jira] [Commented] (HBASE-5918) Master will block forever at startup if root server dies between assigning root and assigning meta

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

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

Patch v2 integrated to trunk.

Thanks for the patch, Chunhui.

Thanks for the review, Stack and Ram.
                
> Master will block forever at startup if root server dies between assigning root and assigning meta
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5918
>                 URL: https://issues.apache.org/jira/browse/HBASE-5918
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.92.1
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>         Attachments: HBASE-5918.patch, HBASE-5918.patch, HBASE-5918V2.patch
>
>
> When master is initializing, if root server died between assign root and assign meta, master will block at 
> HMaster#assignRootAndMeta:{code}assignmentManager.assignMeta();
> this.catalogTracker.waitForMeta();{code}
> because ServerShutdownHandler is disabled,
> So we should enable ServerShutdownHandler after called assignmentManager.assignMeta();

--
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