/** * Restarts the master(s). */ public void restartMasters() throws Exception { stopMasters(); startMasters(); }
/** * Stops the alluxio filesystem's service thread only. */ public void stopFS() throws Exception { LOG.info("stop Alluxio filesystem"); stopProxy(); stopWorkers(); stopMasters(); }
/** * Stops the masters, formats them, and then restarts them. This is useful if a fresh state is * desired, for example when restoring from a backup. */ public void formatAndRestartMasters() throws Exception { stopMasters(); Format.format(Format.Mode.MASTER, ServerConfiguration.global()); startMasters(); }
/** * Restarts the master(s). */ public void restartMasters() throws Exception { stopMasters(); startMasters(); }
/** * Stops the alluxio filesystem's service thread only. */ public void stopFS() throws Exception { LOG.info("stop Alluxio filesystem"); stopProxy(); stopWorkers(); stopMasters(); }
/** * Stops the masters, formats them, and then restarts them. This is useful if a fresh state is * desired, for example when restoring from a backup. */ public void formatAndRestartMasters() throws Exception { stopMasters(); Format.format(Format.Mode.MASTER); startMasters(); }