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

[0.92] NPE in HMaster during shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.92.3
    • 0.92.3
    • None
    • None

    Description

      Found this in a run of TestWALObserver:

      java.lang.NullPointerException
      	at org.apache.hadoop.hbase.master.HMaster.shutdown(HMaster.java:1510)
      	at org.apache.hadoop.hbase.util.JVMClusterUtil.shutdown(JVMClusterUtil.java:226)
      	at org.apache.hadoop.hbase.LocalHBaseCluster.shutdown(LocalHBaseCluster.java:424)
      	at org.apache.hadoop.hbase.MiniHBaseCluster.shutdown(MiniHBaseCluster.java:417)
      	at org.apache.hadoop.hbase.HBaseTestingUtility.shutdownMiniHBaseCluster(HBaseTestingUtility.java:607)
      	at org.apache.hadoop.hbase.HBaseTestingUtility.shutdownMiniCluster(HBaseTestingUtility.java:583)
      	at org.apache.hadoop.hbase.coprocessor.TestWALObserver.teardownAfterClass(TestWALObserver.java:111)
      

      if the active master in the minicluster is terminated before fully initialized. Needs null checks in HMaster#shutdown.

      Attachments

        1. 9349.patch
          0.9 kB
          Andrew Kyle Purtell

        Activity

          People

            apurtell Andrew Kyle Purtell
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: