You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by rb...@apache.org on 2015/10/14 02:28:59 UTC

tez git commit: TEZ-2885. Remove counter logs from AMWebController (rbalamohan)

Repository: tez
Updated Branches:
  refs/heads/master df3bc3320 -> 6eb2cb551


TEZ-2885. Remove counter logs from AMWebController (rbalamohan)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/6eb2cb55
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/6eb2cb55
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/6eb2cb55

Branch: refs/heads/master
Commit: 6eb2cb551dd8a9953f3974da0915ca33425ff18c
Parents: df3bc33
Author: Rajesh Balamohan <rb...@apache.org>
Authored: Wed Oct 14 05:58:47 2015 +0530
Committer: Rajesh Balamohan <rb...@apache.org>
Committed: Wed Oct 14 05:58:47 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                    | 1 +
 .../main/java/org/apache/tez/dag/app/web/AMWebController.java  | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/6eb2cb55/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index dc22ddd..2b52af9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -14,6 +14,7 @@ Release 0.8.1-alpha: 2015-10-12
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2885. Remove counter logs from AMWebController
   TEZ-2096. TEZ-UI : Add link to view AM log of finished & running apps
   TEZ-2874. Improved logging for caller context.
   TEZ-2875. Enable missing tests in TestAnalyzer

http://git-wip-us.apache.org/repos/asf/tez/blob/6eb2cb55/tez-dag/src/main/java/org/apache/tez/dag/app/web/AMWebController.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/web/AMWebController.java b/tez-dag/src/main/java/org/apache/tez/dag/app/web/AMWebController.java
index c10c850..0161a7e 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/app/web/AMWebController.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/app/web/AMWebController.java
@@ -519,8 +519,10 @@ public class AMWebController extends Controller {
     if (counterNames == null || counterNames.isEmpty()) {
       return null;
     }
-    LOG.info("Requested counter names=" + counterNames.entrySet());
-    LOG.info("actual counters=" + counters);
+    if (LOG.isDebugEnabled()) {
+      LOG.debug("Requested counter names=" + counterNames.entrySet());
+      LOG.debug("actual counters=" + counters);
+    }
 
     Map<String, Map<String, Long>> counterInfo = new TreeMap<String, Map<String, Long>>();