Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5279

NPE in Master after upgrading to 0.92.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.92.0
    • Fix Version/s: 0.92.1
    • Component/s: master
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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)

      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
      

      I think that's because I had a hard crash in the cluster a while ago - and the following WARN since then

      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}
      

      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

        Attachments

        1. HBASE-5279.patch
          2 kB
          Tobias Herbert
        2. HBASE-5279-v2.patch
          1 kB
          stack

          Activity

            People

            • Assignee:
              tobiasherbert Tobias Herbert
              Reporter:
              tobiasherbert Tobias Herbert
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: