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

NPE from SnapshotManager#stop

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.98.9, 0.99.2, 2.0.0
    • Fix Version/s: 1.0.0, 0.94.26, 0.98.9
    • Component/s: snapshots
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If there are some files in snapshot dir and snapshot is disabled. Then we will stop master process. As part of this stop got NPE.

      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)
      

        Attachments

        1. HBASE-12692.patch
          1 kB
          Ashish Singhi

          Activity

            People

            • Assignee:
              ashish singhi Ashish Singhi
              Reporter:
              ashish singhi Ashish Singhi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: