public static LocalAlluxioMaster create ( String workDirectory , boolean includeSecondary ) throws IOException { if ( ! Files . isDirectory ( Paths . get ( workDirectory ) ) ) { Files . createDirectory ( Paths . get ( workDirectory ) ) ; } return new LocalAlluxioMaster ( includeSecondary ) ; }
Creates a new local Alluxio master with a isolated port .