@Override public void startMasters() throws Exception { mMaster = LocalAlluxioMaster.create(mWorkDirectory, mRpcBindSocket, mWebBindSocket); mMaster.start(); }
/** * Creates a new local Alluxio master with an isolated work directory and port. * * @return an instance of Alluxio master */ public static LocalAlluxioMaster create() throws IOException { String workDirectory = uniquePath(); FileUtils.deletePathRecursively(workDirectory); ServerConfiguration.set(PropertyKey.WORK_DIR, workDirectory); return create(workDirectory, null, null); }
final LocalAlluxioMaster master = LocalAlluxioMaster.create(mWorkDirectory); master.start(); LOG.info("master NO.{} started, isServing: {}, address: {}", k, master.isServing(),
@Override public void startMasters() throws Exception { mMaster = LocalAlluxioMaster.create(mWorkDirectory); mMaster.start(); }
/** * Creates a new local Alluxio master with an isolated work directory and port. * * @return an instance of Alluxio master */ public static LocalAlluxioMaster create() throws IOException { String workDirectory = uniquePath(); FileUtils.deletePathRecursively(workDirectory); Configuration.set(PropertyKey.WORK_DIR, workDirectory); return create(workDirectory); }
final LocalAlluxioMaster master = LocalAlluxioMaster.create(mWorkDirectory); master.start(); LOG.info("master NO.{} started, isServing: {}, address: {}", k, master.isServing(),