Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.20.0
    • Fix Version/s: 0.20.0
    • Component/s: test
    • Labels:
      None

      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)
      

        Attachments

        1. h4879.patch
          3 kB
          Owen O'Malley
        2. h4879.patch
          2 kB
          Owen O'Malley
        3. HADOOP-4879-v1.patch
          0.7 kB
          Amar Kamat

          Activity

            People

            • Assignee:
              owen.omalley Owen O'Malley
              Reporter:
              acmurthy Arun C Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: