[ https://issues.apache.org/jira/browse/HBASE-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ramkrishna.s.vasudevan resolved HBASE-6115. ------------------------------------------- Resolution: Fixed Assignee: ramkrishna.s.vasudevan (was: rajeshbabu) Hadoop Flags: Reviewed Committed to 0.94. Thanks for the review Stack and Ted. > NullPointerException is thrown when root and meta table regions are assigning > to another RS. > -------------------------------------------------------------------------------------------- > > Key: HBASE-6115 > URL: https://issues.apache.org/jira/browse/HBASE-6115 > Project: HBase > Issue Type: Bug > Affects Versions: 0.94.0 > Reporter: rajeshbabu > Assignee: ramkrishna.s.vasudevan > Priority: Minor > Fix For: 0.94.1 > > Attachments: HBASE-6115_0.94.patch > > > Lets suppose we have two region servers RS1 and RS2. > If region server (RS1) having root and meta regions went down, master will > assign them to another region server RS2. At that time recieved > NullPointerException. > {code} > 2012-05-04 20:19:52,912 DEBUG > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation: > Looked up root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@25de152f; > serverName= > 2012-05-04 20:19:52,914 DEBUG > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation: > Looked up root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@25de152f; > serverName= > 2012-05-04 20:19:52,916 WARN > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler: Exception > running postOpenDeployTasks; region=1028785192 > java.lang.NullPointerException > at > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatchCallback(HConnectionManager.java:1483) > at > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatch(HConnectionManager.java:1367) > at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:945) > at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:801) > at org.apache.hadoop.hbase.client.HTable.put(HTable.java:776) > at org.apache.hadoop.hbase.catalog.MetaEditor.put(MetaEditor.java:98) > at > org.apache.hadoop.hbase.catalog.MetaEditor.putToCatalogTable(MetaEditor.java:88) > at > org.apache.hadoop.hbase.catalog.MetaEditor.updateLocation(MetaEditor.java:259) > at > org.apache.hadoop.hbase.catalog.MetaEditor.updateMetaLocation(MetaEditor.java:221) > at > org.apache.hadoop.hbase.regionserver.HRegionServer.postOpenDeployTasks(HRegionServer.java:1625) > at > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler$PostOpenDeployTasksThread.run(OpenRegionHandler.java:241) > 2012-05-04 20:19:52,920 DEBUG org.apache.hadoop.hbase.regionserver.HRegion: > Closing .META.,,1.1028785192: disabling compactions & flushes > 2012-05-04 20:19:52,920 DEBUG org.apache.hadoop.hbase.regionserver.HRegion: > Updates disabled for region .META.,,1.1028785192 > {code} -- 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