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

This commit is contained in:
Akira Ajisaka 2015-10-01 10:22:45 +02:00
parent 5db371f52f
commit 195793c6f3
2 changed files with 4 additions and 1 deletions

View File

@ -862,6 +862,9 @@ Release 2.6.2 - UNRELEASED
BUG FIXES BUG FIXES
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

@ -825,7 +825,7 @@ public class JobHistoryEventHandler extends AbstractService
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",