Description
HADOOP-1230 changed the definition of TaskReport.equals:
@@ -172,7 +172,7 @@ return false; if(o.getClass().equals(TaskReport.class)) { TaskReport report = (TaskReport) o; - return counters.contentEquals(report.getCounters()) + return counters.equals(report.getCounters())
This results in:
Testcase: testJobTrackerRestart took 473.926 sec FAILED Task reports for same attempt has changed junit.framework.AssertionFailedError: Task reports for same attempt has changed at org.apache.hadoop.mapred.TestJobTrackerRestart.testTaskReports(TestJobTrackerRestart.java:514) at org.apache.hadoop.mapred.TestJobTrackerRestart.testTaskEventsAndReportsWithRecovery(TestJobTrackerRestart.java:447) at org.apache.hadoop.mapred.TestJobTrackerRestart.testJobTrackerRestart(TestJobTrackerRestart.java:599)