You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ashish Singhi (JIRA)" <ji...@apache.org> on 2014/12/15 15:29:13 UTC
[jira] [Updated] (HBASE-12692) NPE from SnapshotManager#stop
[ https://issues.apache.org/jira/browse/HBASE-12692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Singhi updated HBASE-12692:
----------------------------------
Attachment: HBASE-12692.patch
> 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: 2.0.0, 0.98.9, 0.99.2
> Reporter: Ashish Singhi
> Assignee: Ashish Singhi
> Priority: Minor
> Fix For: 1.0.0, 2.0.0, 0.98.10
>
> Attachments: HBASE-12692.patch
>
>
> 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)