[jira] [Updated] (HBASE-5918) Master will block forever when startup if root server died between assign root and assign meta

2012-05-03 Thread chunhui shen (JIRA)

 [ 
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




[jira] [Updated] (HBASE-5918) Master will block forever when startup if root server died between assign root and assign meta

2012-05-02 Thread chunhui shen (JIRA)

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

chunhui shen updated HBASE-5918:


  Component/s: master
Affects Version/s: 0.92.1

 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

 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




[jira] [Updated] (HBASE-5918) Master will block forever when startup if root server died between assign root and assign meta

2012-05-02 Thread chunhui shen (JIRA)

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

chunhui shen updated HBASE-5918:


Attachment: HBASE-5918.patch

 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


 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




[jira] [Updated] (HBASE-5918) Master will block forever when startup if root server died between assign root and assign meta

2012-05-02 Thread Zhihong Yu (JIRA)

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

Zhihong Yu updated HBASE-5918:
--

Hadoop Flags: Reviewed
  Status: Patch Available  (was: Open)

Patch makes sense.

 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


 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




[jira] [Updated] (HBASE-5918) Master will block forever when startup if root server died between assign root and assign meta

2012-05-02 Thread chunhui shen (JIRA)

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

chunhui shen updated HBASE-5918:


Attachment: HBASE-5918.patch

 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


 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