Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
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.