tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbalamo...@apache.org
Subject tez git commit: TEZ-2885. Remove counter logs from AMWebController (rbalamohan)
Date Wed, 14 Oct 2015 05:09:46 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.7 77f7e1840 -> 32ed175ab


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

(cherry picked from commit 6eb2cb551dd8a9953f3974da0915ca33425ff18c)


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

Branch: refs/heads/branch-0.7
Commit: 32ed175abdbac6c81c47333b569e0c5d2f295961
Parents: 77f7e18
Author: Rajesh Balamohan <rbalamohan@apache.org>
Authored: Wed Oct 14 05:58:47 2015 +0530
Committer: Rajesh Balamohan <rbalamohan@apache.org>
Committed: Wed Oct 14 10:39:31 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/32ed175a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 1069ae3..5d4e715 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,7 @@ Release 0.7.1: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES
+  TEZ-2885. Remove counter logs from AMWebController.
   TEZ-2887. Tez build failure due to missing dependency in pom files.
   TEZ-2096. TEZ-UI : Add link to view AM log of finished & running apps
   TEZ-2874. Improved logging for caller context.

http://git-wip-us.apache.org/repos/asf/tez/blob/32ed175a/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>>();
 


Mime
View raw message