Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4915

TestShuffleExceptionCount fails with open JDK7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1-win
    • Fix Version/s: 1.2.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Testcase: testShuffleExceptionTrailingSize took 0.203 sec
      Testcase: testExceptionCount took 0 sec
      Testcase: testShuffleExceptionTrailing took 0 sec
      Testcase: testCheckException took 0 sec
              FAILED
      abort called when set to off
      junit.framework.AssertionFailedError: abort called when set to off
              at org.apache.hadoop.mapred.TestShuffleExceptionCount.testCheckException(TestShuffleExceptionCount.java:57)
      

      This is a test order-dependency bug. The static variable abortCalled set by one test may affect the next tests.

        Activity

        Hide
        Brandon Li added a comment -

        Reset abortCalled before each test.

        Show
        Brandon Li added a comment - Reset abortCalled before each test.
        Hide
        Suresh Srinivas added a comment -

        +1. Committed the patch to branch-1. Thank you Brandon!

        Show
        Suresh Srinivas added a comment - +1. Committed the patch to branch-1. Thank you Brandon!
        Hide
        Matt Foley added a comment -

        Closed upon release of Hadoop 1.2.0.

        Show
        Matt Foley added a comment - Closed upon release of Hadoop 1.2.0.

          People

          • Assignee:
            Brandon Li
            Reporter:
            Brandon Li
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development