public void start ( ) throws IOException , InterruptedException { for ( Service service : services ) { service . configure ( serviceConfig ) ; logger . info ( "Running Minicluster Service: " + service . getClass ( ) . getName ( ) ) ; service . start ( ) ; serviceConfig . setHadoopConf ( service . getHadoopConf ( ) ) ; // set the default configuration so that the minicluster is used DefaultConfiguration . set ( serviceConfig . getHadoopConf ( ) ) ; } logger . info ( "All Minicluster Services running." ) ; }
Starts the services in order passing the previous service s modified Configuration object to the next .