code: public static void deploy(Service service, HiveConf configuration) {
      init(service, configuration);
      start(service);
    }
docs: Initialize then start a service.
  
  The service state is checked <i>before</i> the operation begins.
  This process is <i>not</i> thread safe.
  @param service a service that must be in the state
  {@link Service.STATE#NOTINITED}
  @param configuration the configuration to initialize the service with
  @throws RuntimeException on a state change failure
  @throws IllegalStateException if the service is in the wrong state