public static void main ( String [ ] args ) { if ( args . length != 0 ) { LOG . info ( "java -cp {} {}" , RuntimeConstants . ALLUXIO_JAR , AlluxioProxyMonitor . class . getCanonicalName ( ) ) ; LOG . warn ( "ignoring arguments" ) ; } HealthCheckClient client = new ProxyHealthCheckClient ( NetworkAddressUtils . getBindAddress ( NetworkAddressUtils . ServiceType . PROXY_WEB , new InstancedConfiguration ( ConfigurationUtils . defaults ( ) ) ) , ( ) -> new ExponentialBackoffRetry ( 50 , 100 , 2 ) ) ; if ( ! client . isServing ( ) ) { System . exit ( 1 ) ; } System . exit ( 0 ) ; }
Starts the Alluxio proxy monitor .