HBASE-18890, Backport HBASE-14499 (Master coprocessors shutdown will not happen on master abort) to branch-1
Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
parent
93ad1aba70
commit
b2943504b8
|
@ -2551,7 +2551,12 @@ public class HMaster extends HRegionServer implements MasterServices, Server {
|
|||
getLoadedCoprocessors());
|
||||
}
|
||||
if (t != null) LOG.fatal(msg, t);
|
||||
stop(msg);
|
||||
|
||||
try {
|
||||
stopMaster();
|
||||
} catch (IOException e) {
|
||||
LOG.error("Exception occurred while stopping master", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue