Details
Description
In HMaster,
@Override public void abort(final String msg, final Throwable t) { if (isAborted() || isStopped()) { return; } if (cpHost != null) { // HBASE-4014: dump a list of loaded coprocessors. LOG.fatal("Master server abort: loaded coprocessors are: " + getLoadedCoprocessors()); } if (t != null) LOG.fatal(msg, t); stop(msg); }
Here we are invoking stop(...) of HRegionServer, which will try to stop RS coprocessors if rsHost is not NULL.
So Master coprocessors will not be stopped. We should invoke stopMaster() instead of stop(...).