public static void main ( String [ ] args ) { if ( args . length != 0 ) { LOG . info ( "java -cp {} {}" , RuntimeConstants . ALLUXIO_JAR , AlluxioWorkerMonitor . class . getCanonicalName ( ) ) ; LOG . warn ( "ignoring arguments" ) ; } AlluxioConfiguration conf = new InstancedConfiguration ( ConfigurationUtils . defaults ( ) ) ; HealthCheckClient client = new WorkerHealthCheckClient ( NetworkAddressUtils . getConnectAddress ( NetworkAddressUtils . ServiceType . WORKER_RPC , conf ) , ONE_MIN_EXP_BACKOFF , conf ) ; if ( ! client . isServing ( ) ) { System . exit ( 1 ) ; } System . exit ( 0 ) ; }
Starts the Alluxio worker monitor .