You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by hi...@apache.org on 2015/01/06 21:52:55 UTC

tez git commit: TEZ-1906. Fix findbugs warnings in tez-yarn-timeline-history-with-acls. (hitesh)

Repository: tez
Updated Branches:
  refs/heads/master 9f6e76d0b -> 9fb86963e


TEZ-1906. Fix findbugs warnings in tez-yarn-timeline-history-with-acls. (hitesh)


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

Branch: refs/heads/master
Commit: 9fb86963ed1cee1cd88c89757a4245b4588381d7
Parents: 9f6e76d
Author: Hitesh Shah <hi...@apache.org>
Authored: Tue Jan 6 12:51:48 2015 -0800
Committer: Hitesh Shah <hi...@apache.org>
Committed: Tue Jan 6 12:51:48 2015 -0800

----------------------------------------------------------------------
 CHANGES.txt                                                      | 1 +
 .../dag/history/logging/ats/HistoryEventTimelineConversion.java  | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/9fb86963/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index ffc7e57..114784b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -7,6 +7,7 @@ Release 0.7.0: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-1906. Fix findbugs warnings in tez-yarn-timeline-history-with-acls.
   TEZ-1767. Enable RLE in reducer side merge codepath.
   TEZ-1837. Restrict usage of Environment variables to main methods.
   TEZ-1867. Create new central dispatcher for Tez AM

http://git-wip-us.apache.org/repos/asf/tez/blob/9fb86963/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/logging/ats/HistoryEventTimelineConversion.java
----------------------------------------------------------------------
diff --git a/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/logging/ats/HistoryEventTimelineConversion.java b/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/logging/ats/HistoryEventTimelineConversion.java
index 91346ae..6dc3325 100644
--- a/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/logging/ats/HistoryEventTimelineConversion.java
+++ b/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/logging/ats/HistoryEventTimelineConversion.java
@@ -263,7 +263,7 @@ public class HistoryEventTimelineConversion {
     final Map<String, Integer> dagTaskStats = event.getDagTaskStats();
     if (dagTaskStats != null) {
       for(Entry<String, Integer> entry : dagTaskStats.entrySet()) {
-        atsEntity.addOtherInfo(entry.getKey(), entry.getValue().intValue());
+        atsEntity.addOtherInfo(entry.getKey(), entry.getValue());
       }
     }
 
@@ -510,7 +510,7 @@ public class HistoryEventTimelineConversion {
     final Map<String, Integer> vertexTaskStats = event.getVertexTaskStats();
     if (vertexTaskStats != null) {
       for(Entry<String, Integer> entry : vertexTaskStats.entrySet()) {
-        atsEntity.addOtherInfo(entry.getKey(), entry.getValue().intValue());
+        atsEntity.addOtherInfo(entry.getKey(), entry.getValue());
       }
     }