[ https://issues.apache.org/jira/browse/HBASE-5882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276963#comment-13276963 ]
Zhihong Yu commented on HBASE-5882: ----------------------------------- Idea is good. {code} + private boolean wasOpeningOnDeadServer(ServerName sn, + Map<ServerName, List<Pair<HRegionInfo, Result>>> deadServers) { + if (deadServers.keySet().contains(sn)) { {code} The above method doesn't check whether regionInfo is in opening state. So the name of method should be changed accordingly. > Prcoess RIT on master restart can try assigning the region if the region is > found on a dead server instead of waiting for Timeout Monitor > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-5882 > URL: https://issues.apache.org/jira/browse/HBASE-5882 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.90.6, 0.92.1 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Attachments: hbase_5882.patch > > > Currently on master restart if it tries to do processRIT, any region if > found on dead server tries to avoid the nwe assignment so that timeout > monitor can take care. > This case is more prominent if the node is found in RS_ZK_REGION_OPENING > state. I think we can handle this by triggering a new assignment with a new > plan. -- 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