public static void init ( Service service , HiveConf configuration ) { Service . STATE state = service . getServiceState ( ) ; ensureCurrentState ( state , Service . STATE . NOTINITED ) ; service . init ( configuration ) ; }
Initialize a service .