/** * Stops the alluxio job service threads. * * @throws Exception when the operation fails */ public void stop() throws Exception { LOG.info("Stop Alluxio job service"); mWorker.stop(); mMaster.stop(); }
@Override public void stop() throws Exception { super.stop(); if (mLeaderSelector != null) { mLeaderSelector.stop(); } }