HBASE-12692 NPE from SnapshotManager#stop (Ashish Singhi)

This commit is contained in:
Jonathan M Hsieh 2014-12-15 11:17:59 -08:00
parent 88d1ddffd7
commit 7cf86b62a7
1 changed files with 3 additions and 1 deletions

View File

@ -901,7 +901,9 @@ public class SnapshotManager extends MasterProcedureManager implements Stoppable
restoreHandler.cancel(why);
}
try {
coordinator.close();
if (coordinator != null) {
coordinator.close();
}
} catch (IOException e) {
LOG.error("stop ProcedureCoordinator error", e);
}