MAPREDUCE-6497. Fix wrong value of JOB_FINISHED event in JobHistoryEventHandler. Contributed by Shinichi Yamashita.

(cherry picked from commit 195793c6f3e53a5c0527020477fe9c9158576f77)
(cherry picked from commit e42f57623251f0a5d5607e6a8b3d732de8c8a5a8)
This commit is contained in:
Akira Ajisaka 2015-10-01 10:22:45 +02:00
parent 493f072008
commit 3096d3e1a1
2 changed files with 4 additions and 1 deletions

View File

@ -275,6 +275,9 @@ Release 2.6.2 - UNRELEASED
cache files so that child processes running hadoop scripts can access these cache files so that child processes running hadoop scripts can access these
files. (Junping Du via vinodkv) files. (Junping Du via vinodkv)
MAPREDUCE-6497. Fix wrong value of JOB_FINISHED event in
JobHistoryEventHandler. (Shinichi Yamashita via aajisaka)
Release 2.6.1 - 2015-09-23 Release 2.6.1 - 2015-09-23
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -809,7 +809,7 @@ private void processEventForTimelineServer(HistoryEvent event, JobId jobId,
tEvent.addEventInfo("FINISHED_MAPS", jfe.getFinishedMaps()); tEvent.addEventInfo("FINISHED_MAPS", jfe.getFinishedMaps());
tEvent.addEventInfo("FINISHED_REDUCES", jfe.getFinishedReduces()); tEvent.addEventInfo("FINISHED_REDUCES", jfe.getFinishedReduces());
tEvent.addEventInfo("MAP_COUNTERS_GROUPS", tEvent.addEventInfo("MAP_COUNTERS_GROUPS",
countersToJSON(jfe.getTotalCounters())); countersToJSON(jfe.getMapCounters()));
tEvent.addEventInfo("REDUCE_COUNTERS_GROUPS", tEvent.addEventInfo("REDUCE_COUNTERS_GROUPS",
countersToJSON(jfe.getReduceCounters())); countersToJSON(jfe.getReduceCounters()));
tEvent.addEventInfo("TOTAL_COUNTERS_GROUPS", tEvent.addEventInfo("TOTAL_COUNTERS_GROUPS",