@Override
  public State getDesiredState() {
    HostComponentDesiredStateEntity desiredStateEntity = getDesiredStateEntity();
    if (desiredStateEntity != null) {
      return desiredStateEntity.getDesiredState();
    } else {
      LOG.warn("Trying to fetch a member from an entity object that may "
          + "have been previously deleted, serviceName = " + getServiceName() + ", "
          + "componentName = " + getServiceComponentName() + ", " + "hostName = " + getHostName());
    }

    return null;
  }
@param lastOpLastUpdateTime the lastOpLastUpdateTime to set
ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java