Repository: ambari
Updated Branches:
  refs/heads/trunk bd4a02fb4 -> a27c0dd34


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/a27c0dd3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a27c0dd3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a27c0dd3

Branch: refs/heads/trunk
Commit: a27c0dd34608cd99fc47d4a6b2e2ab532f0e03eb
Parents: bd4a02f
Author: Sandor Magyari <[email protected]>
Authored: Thu Dec 8 15:57:04 2016 +0100
Committer: Sandor Magyari <[email protected]>
Committed: Thu Dec 8 18:34:06 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/a27c0dd3/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);

Reply via email to