Ashish Singhi created HBASE-12692:
-------------------------------------

             Summary: NPE from SnapshotManager#stop
                 Key: HBASE-12692
                 URL: https://issues.apache.org/jira/browse/HBASE-12692
             Project: HBase
          Issue Type: Bug
          Components: snapshots
    Affects Versions: 0.99.2, 0.98.9, 2.0.0
            Reporter: Ashish Singhi
            Assignee: Ashish Singhi
            Priority: Minor
             Fix For: 1.0.0, 2.0.0, 0.98.10


If there are some files in snapshot dir and snapshot is disabled. Then we will 
stop master process. As pert of this stop got NPE.
{noformat}
Exception in thread "master/host-10-18-40-106/10.18.40.106:16020" 
java.lang.NullPointerException
        at 
org.apache.hadoop.hbase.master.snapshot.SnapshotManager.stop(SnapshotManager.java:930)
        at 
org.apache.hadoop.hbase.procedure.MasterProcedureManagerHost.stop(MasterProcedureManagerHost.java:56)
        at 
org.apache.hadoop.hbase.master.HMaster.stopServiceThreads(HMaster.java:994)
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:1010)
        at java.lang.Thread.run(Thread.java:745)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to