code: @Override
    public synchronized void init(HiveConf hiveConf) {
      ensureCurrentState(STATE.NOTINITED);
      this.hiveConf = hiveConf;
      changeState(STATE.INITED);
      LOG.info("Service:" + getName() + " is inited.");
    }
docs: {@inheritDoc}
  
  @throws IllegalStateException
  if the current service state does not permit
  this action