public static void start(Service service) {
    Service.STATE state = service.getServiceState();
    ensureCurrentState(state, Service.STATE.INITED);
    service.start();
  }
Start a service.
<br>
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#INITED}
@throws RuntimeException on a state change failure
@throws IllegalStateException if the service is in the wrong state
service/src/java/org/apache/hive/service/ServiceOperations.java