Repository: tez
Updated Branches:
  refs/heads/branch-0.6 3b59666fb -> b0c29d0e0


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/b0c29d0e
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/b0c29d0e
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/b0c29d0e

Branch: refs/heads/branch-0.6
Commit: b0c29d0e0b573730f1544f1eec481564e8233ce2
Parents: 3b59666
Author: Hitesh Shah <[email protected]>
Authored: Fri Apr 10 13:38:11 2015 -0700
Committer: Hitesh Shah <[email protected]>
Committed: Fri Apr 10 13:39:08 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/b0c29d0e/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 6d292d2..ea29ae5 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -174,6 +174,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/b0c29d0e/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 496085a..2976c5a 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());
           }
         }
       }

Reply via email to