MAPREDUCE-4156. ant build fails compiling JobInProgress (tgraves)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1326795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Graves 2012-04-16 20:46:30 +00:00
parent f1667dee14
commit 159646f2a4
3 changed files with 4 additions and 2 deletions

View File

@ -341,6 +341,8 @@ Release 0.23.3 - UNRELEASED
MAPREDUCE-4144. Fix a NPE in the ResourceManager when handling node
updates. (Jason Lowe via sseth)
MAPREDUCE-4156. ant build fails compiling JobInProgress (tgraves)
Release 0.23.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -2731,7 +2731,7 @@ public synchronized boolean completedTask(TaskInProgress tip,
}
TaskFinishedEvent tfe = new TaskFinishedEvent(tip.getTIPId(),
tip.getExecFinishTime(), taskType,
null, tip.getExecFinishTime(), taskType,
TaskStatus.State.SUCCEEDED.toString(),
new org.apache.hadoop.mapreduce.Counters(status.getCounters()));

View File

@ -97,7 +97,7 @@ public void testHistoryParsing() throws IOException {
// Try to write one more event now, should not fail
TaskID tid = TaskID.forName("task_200809171136_0001_m_000002");
TaskFinishedEvent tfe =
new TaskFinishedEvent(tid, 0, TaskType.MAP, "", null);
new TaskFinishedEvent(tid, null, 0, TaskType.MAP, "", null);
boolean caughtException = false;
try {