hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-5918) Master will block forever when startup if root server died between assign root and assign meta
Date Thu, 03 May 2012 06:57:52 GMT

     [ https://issues.apache.org/jira/browse/HBASE-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

chunhui shen updated HBASE-5918:
--------------------------------

    Attachment: HBASE-5918V2.patch

In the v2 patch, I make a single method that set the flag and then did the call to expireDeadNotExpiredServers.
And we will only call this method once now.
                
> Master will block forever when startup if root server died between assign root and assign
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

        

Mime
View raw message