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);
|
||||
}
|
||||
try {
|
||||
if (coordinator != null) {
|
||||
coordinator.close();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
LOG.error("stop ProcedureCoordinator error", e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue