public static void main ( String [ ] args ) { if ( args . length != 0 ) { LOG . info ( "java -cp {} {}" , RuntimeConstants . ALLUXIO_JAR , AlluxioProxy . class . getCanonicalName ( ) ) ; System . exit ( - 1 ) ; } if ( ! ConfigurationUtils . masterHostConfigured ( ServerConfiguration . global ( ) ) ) { ProcessUtils . fatalError ( LOG , ConfigurationUtils . getMasterHostNotConfiguredMessage ( "Alluxio proxy" ) ) ; } CommonUtils . PROCESS_TYPE . set ( CommonUtils . ProcessType . PROXY ) ; ProxyProcess process = ProxyProcess . Factory . create ( ) ; ProcessUtils . run ( process ) ; }
Starts the Alluxio proxy .