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:41:10 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.5 78610f884 -> fec1cf55c


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

(cherry picked from commit c8ef2442d0e4926f4b207426b0dcdb22ddd20501)


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

Branch: refs/heads/branch-0.5
Commit: fec1cf55c997ceb5002cccfa435668a38829eace
Parents: 78610f8
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:40:10 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/fec1cf55/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index c618c98..cc86374 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -4,6 +4,7 @@ Apache Tez Change Log
 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/fec1cf55/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 008334f..dceb008 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
@@ -261,8 +261,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