tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject tez git commit: TEZ-2289. ATSHistoryLoggingService can generate ArrayOutOfBoundsException. (Chang Li via hitesh)
Date Fri, 10 Apr 2015 20:38:49 GMT
Repository: tez
Updated Branches:
  refs/heads/master f38282834 -> c8ef2442d


TEZ-2289. ATSHistoryLoggingService can generate ArrayOutOfBoundsException. (Chang Li via hitesh)


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

Branch: refs/heads/master
Commit: c8ef2442d0e4926f4b207426b0dcdb22ddd20501
Parents: f382828
Author: Hitesh Shah <hitesh@apache.org>
Authored: Fri Apr 10 13:38:11 2015 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Fri Apr 10 13:38:11 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/tez/blob/c8ef2442/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 731dedd..7d1127f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -275,6 +275,7 @@ TEZ-UI CHANGES (TEZ-8):
 Release 0.5.4: Unreleased
 
 ALL CHANGES:
+  TEZ-2289. ATSHistoryLoggingService can generate ArrayOutOfBoundsException.
   TEZ-2257. Fix potential NPEs in TaskReporter.
   TEZ-2192. Relocalization does not check for source.
   TEZ-2224. EventQueue empty doesn't mean events are consumed in RecoveryService

http://git-wip-us.apache.org/repos/asf/tez/blob/c8ef2442/tez-plugins/tez-yarn-timeline-history/src/main/java/org/apache/tez/dag/history/logging/ats/ATSHistoryLoggingService.java
----------------------------------------------------------------------
diff --git a/tez-plugins/tez-yarn-timeline-history/src/main/java/org/apache/tez/dag/history/logging/ats/ATSHistoryLoggingService.java
b/tez-plugins/tez-yarn-timeline-history/src/main/java/org/apache/tez/dag/history/logging/ats/ATSHistoryLoggingService.java
index b2ac1bb..0abde11 100644
--- a/tez-plugins/tez-yarn-timeline-history/src/main/java/org/apache/tez/dag/history/logging/ats/ATSHistoryLoggingService.java
+++ b/tez-plugins/tez-yarn-timeline-history/src/main/java/org/apache/tez/dag/history/logging/ats/ATSHistoryLoggingService.java
@@ -332,8 +332,7 @@ public class ATSHistoryLoggingService extends HistoryLoggingService {
           if (err.getErrorCode() != 0) {
             LOG.warn("Could not post history event to ATS"
                 + ", atsPutError=" + err.getErrorCode()
-                + ", entityId=" + entities[i].getEntityId()
-                + ", eventType=" + events.get(i).getHistoryEvent().getEventType());
+                + ", entityId=" + err.getEntityId());
           }
         }
       }


Mime
View raw message