@Override
  public ServiceComponentHostResponse convertToResponseStatusOnly(Map<String, DesiredConfig> desiredConfigs,
                                                                  boolean collectStaleConfigsStatus) {
    String clusterName = serviceComponent.getClusterName();
    String serviceName = serviceComponent.getServiceName();
    String serviceComponentName = serviceComponent.getName();
    String state = getState().toString();

    ServiceComponentHostResponse r = new ServiceComponentHostResponse(clusterName, serviceName,
        serviceComponentName, null, hostName, null, state, null,
        null, null, null, null);

    if (collectStaleConfigsStatus) {

      try {
        HostComponentDesiredStateEntity hostComponentDesiredStateEntity = getDesiredStateEntity();
        r.setStaleConfig(helper.isStaleConfigs(this, desiredConfigs, hostComponentDesiredStateEntity));
      } catch (Exception e) {
        LOG.error("Could not determine stale config", e);
      }
    } else {
      r.setStaleConfig(false);
    }

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