You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2014/11/01 21:55:54 UTC

[2/2] git commit: AMBARI-8099. ERROR in log related to HttpProxy (aonishuk)

AMBARI-8099. ERROR in log related to HttpProxy (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3f24cd34
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3f24cd34
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3f24cd34

Branch: refs/heads/branch-1.7.0
Commit: 3f24cd34f3a71cee8a5b52e32e8e72cec66b65b1
Parents: 504fe66
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Sat Nov 1 22:55:34 2014 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Sat Nov 1 22:55:34 2014 +0200

----------------------------------------------------------------------
 .../ambari/server/controller/ganglia/GangliaPropertyProvider.java  | 2 +-
 .../server/controller/internal/HttpProxyPropertyProvider.java      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3f24cd34/ambari-server/src/main/java/org/apache/ambari/server/controller/ganglia/GangliaPropertyProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/ganglia/GangliaPropertyProvider.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/ganglia/GangliaPropertyProvider.java
index 6f5d025..e786681 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/ganglia/GangliaPropertyProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/ganglia/GangliaPropertyProvider.java
@@ -455,7 +455,7 @@ public abstract class GangliaPropertyProvider extends AbstractPropertyProvider {
 
         //Check if Ganglia server component is live
         if (!hostProvider.isGangliaCollectorComponentLive(clusterName)) {
-          LOG.info("Ganglia server component is not live");
+          LOG.debug("Ganglia server component is not live");
           return Collections.emptySet();
         }
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/3f24cd34/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HttpProxyPropertyProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HttpProxyPropertyProvider.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HttpProxyPropertyProvider.java
index 3cd336c..ca2bd52 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HttpProxyPropertyProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HttpProxyPropertyProvider.java
@@ -195,7 +195,7 @@ public class HttpProxyPropertyProvider extends BaseProvider implements PropertyP
       r.setProperty(propertyIdToSet, propertyValueToSet);
     }
     catch (IOException ioe) {
-      LOG.error("Error reading HTTP response from " + url);
+      LOG.debug("Error reading HTTP response from " + url);
       r.setProperty(propertyIdToSet, null);
     } catch (JsonSyntaxException jse) {
       LOG.error("Error parsing HTTP response from " + url);