HBASE-12692 NPE from SnapshotManager#stop (Ashish Singhi)
This commit is contained in:
parent
afb753ecc3
commit
3a652ba41c
|
@ -927,7 +927,9 @@ public class SnapshotManager extends MasterProcedureManager implements Stoppable
|
||||||
restoreHandler.cancel(why);
|
restoreHandler.cancel(why);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
coordinator.close();
|
if (coordinator != null) {
|
||||||
|
coordinator.close();
|
||||||
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.error("stop ProcedureCoordinator error", e);
|
LOG.error("stop ProcedureCoordinator error", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue