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

        Brandon Li created issue -
        Hide
        Brandon Li added a comment -

        Reset abortCalled before each test.

        Show
        Brandon Li added a comment - Reset abortCalled before each test.
        Brandon Li made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-4915.patch [ 12563392 ]
        Brandon Li made changes -
        Description This is a test order-dependency bug. The static variable abortCalled set by one test may affect the next tests. {noformat}
        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)
        {noformat}

        This is a test order-dependency bug. The static variable abortCalled set by one test may affect the next tests.
        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!
        Suresh Srinivas made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 1.2.0 [ 12321661 ]
        Resolution Fixed [ 1 ]
        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.
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 21h 56m 1 Suresh Srinivas 07/Jan/13 01:40
        Resolved Resolved Closed Closed
        128d 3h 35m 1 Matt Foley 15/May/13 06:15

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development