public static void main ( String argv [ ] ) throws Exception { StringUtils . startupShutdownMessage ( UtilizationCollector . class , argv , LOG ) ; try { Configuration conf = new Configuration ( ) ; UtilizationCollector collector = new UtilizationCollector ( conf ) ; if ( collector != null ) { collector . join ( ) ; } } catch ( Throwable e ) { LOG . error ( StringUtils . stringifyException ( e ) ) ; System . exit ( - 1 ) ; } }
main program to run on the Collector server