AMBARI-19066. Add more logging around status command report processing on server side (magyari_sandor)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/51c6ef9e Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/51c6ef9e Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/51c6ef9e Branch: refs/heads/branch-feature-AMBARI-18901 Commit: 51c6ef9e157991d96535ff6e0b86a6e9b8878883 Parents: 4f3a67d Author: Sandor Magyari <smagy...@hortonworks.com> Authored: Thu Dec 8 15:57:04 2016 +0100 Committer: Sandor Magyari <smagy...@hortonworks.com> Committed: Thu Dec 8 18:35:34 2016 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/ambari/server/agent/AgentRequests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/51c6ef9e/ambari-server/src/main/java/org/apache/ambari/server/agent/AgentRequests.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/agent/AgentRequests.java b/ambari-server/src/main/java/org/apache/ambari/server/agent/AgentRequests.java index 2980f38..01195bf 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/agent/AgentRequests.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/agent/AgentRequests.java @@ -45,9 +45,9 @@ public class AgentRequests { public void setExecutionDetailsRequest(String host, String component, String requestExecutionCmd) { if (StringUtils.isNotBlank(requestExecutionCmd)) { - LOG.debug("Setting need for exec command to " + requestExecutionCmd + " for " + component); Map<String, Boolean> perHostRequiresExecCmdDetails = getPerHostRequiresExecCmdDetails(host); if (Boolean.TRUE.toString().toUpperCase().equals(requestExecutionCmd.toUpperCase())) { + LOG.info("Setting need for exec command to " + requestExecutionCmd + " for " + component); perHostRequiresExecCmdDetails.put(component, Boolean.TRUE); } else { perHostRequiresExecCmdDetails.put(component, Boolean.FALSE);