public static void main ( String [ ] args ) { if ( args . length != 0 ) { LOG . info ( "java -cp {} {}" , RuntimeConstants . ALLUXIO_JAR , AlluxioJobMaster . class . getCanonicalName ( ) ) ; System . exit ( - 1 ) ; } CommonUtils . PROCESS_TYPE . set ( alluxio . util . CommonUtils . ProcessType . JOB_MASTER ) ; AlluxioJobMasterProcess process ; try { process = AlluxioJobMasterProcess . Factory . create ( ) ; } catch ( Throwable t ) { LOG . error ( "Failed to create job master process" , t ) ; // Exit to stop any non-daemon threads. System . exit ( - 1 ) ; throw t ; } ProcessUtils . run ( process ) ; }
Starts the Alluxio job master .