NPE in Master after upgrading to 0.92.0
---------------------------------------
Key: HBASE-5279
URL: https://issues.apache.org/jira/browse/HBASE-5279
Project: HBase
Issue Type: Bug
Components: master
Affects Versions: 0.92.0
Reporter: Tobias Herbert
Priority: Critical
I have upgraded my environment from 0.90.4 to 0.92.0
after the table migration I get the following error in the master (permanent)
{noformat}
2012-01-25 18:23:48,648 FATAL master-namenode,60000,1327512209588
org.apache.hadoop.hbase.master.HMaster - Unhandled exception. Starting shutdown.
java.lang.NullPointerException
at
org.apache.hadoop.hbase.master.AssignmentManager.rebuildUserRegions(AssignmentManager.java:2190)
at
org.apache.hadoop.hbase.master.AssignmentManager.joinCluster(AssignmentManager.java:323)
at
org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:501)
at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:326)
at java.lang.Thread.run(Thread.java:662)
2012-01-25 18:23:48,650 INFO namenode,60000,1327512209588
org.apache.hadoop.hbase.master.HMaster - Aborting
{noformat}
I think that's because I had a hard crash in the cluster a while ago - and the
following WARN since then
{noformat}
2012-01-25 21:20:47,121 WARN namenode,60000,1327513078123-CatalogJanitor
org.apache.hadoop.hbase.master.CatalogJanitor - REGIONINFO_QUALIFIER is empty
in keyvalues={emails,,xxx./info:server/1314336400471/Put/vlen=38,
emails,,1314189353300.xxx./info:serverstartcode/1314336400471/Put/vlen=8}
{noformat}
my patch was simple to go around the NPE (as the other code around the lines)
but I don't know if that's correct
--
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