creates a new local alluxio master with an isolated work directory and port . concode_field_sep Supplier<String> mClientSupplier concode_elem_sep Logger LOG concode_elem_sep String mJournalFolder concode_elem_sep ClientPool mClientPool concode_elem_sep AlluxioMasterService mAlluxioMaster concode_elem_sep Thread mMasterThread concode_elem_sep String mHostname concode_field_sep int getRpcLocalPort concode_elem_sep String getJournalFolder concode_elem_sep AlluxioMasterService getInternalMaster concode_elem_sep void stop concode_elem_sep String uniquePath concode_elem_sep String get concode_elem_sep boolean isServing concode_elem_sep void start concode_elem_sep InetSocketAddress getAddress concode_elem_sep FileSystem getClient concode_elem_sep void clearClients concode_elem_sep String getUri
LocalAlluxioMaster function ( ) { String loc0 = uniquePath ( ) ; UnderFileSystemUtils . deleteDirIfExists ( loc0 ) ; UnderFileSystemUtils . mkdirIfNotExists ( loc0 ) ; Configuration . set ( PropertyKey . WORK_DIR , loc0 ) ; return new LocalAlluxioMaster ( ) ; }