Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4879

TestJobTrackerRestart fails on trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20.0
    • 0.20.0
    • test
    • 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

            omalley Owen O'Malley
            acmurthy Arun Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: