[ https://issues.apache.org/jira/browse/HBASE-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041146#comment-13041146 ]
Ted Yu commented on HBASE-3933: ------------------------------- The changes in HMaster copied some existing code. We can add the new check to the existing if statement so that we don't copy the code in the if block. For the changes in waitForRegionServers(), I guess the rationale is to prevent the region server which carried .ROOT. to checkin after that point. If so, we should still let other region servers to continue checking in. > Hmaster throw NullPointerException > ---------------------------------- > > Key: HBASE-3933 > URL: https://issues.apache.org/jira/browse/HBASE-3933 > Project: HBase > Issue Type: Bug > Components: master > Affects Versions: 0.90.3 > Reporter: gaojinchao > Assignee: gaojinchao > Fix For: 0.90.4 > > Attachments: Hmastersetup0.90 > > > NullPointerException while hmaster starting. > {code} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:324) > at java.util.TreeMap.get(TreeMap.java:255) > at > org.apache.hadoop.hbase.master.AssignmentManager.addToServers(AssignmentManager.java:1512) > at > org.apache.hadoop.hbase.master.AssignmentManager.regionOnline(AssignmentManager.java:606) > at > org.apache.hadoop.hbase.master.AssignmentManager.processFailover(AssignmentManager.java:214) > at > org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:402) > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:283) > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira