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

TestMiniMRMapRedDebugScript fails sometimes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Testcase: testMapDebugScript took 149.994 sec
      FAILED
      null expected:<...t Script
      Bailing out[]> but was:<...t Script
      Bailing out[
      log4j:WARN No appenders could be found for logger (org.apache.hadoop.mapred.Task).
      log4j:WARN Please initialize the log4j system properly.]>
      junit.framework.ComparisonFailure: null expected:<...t Script
      Bailing out[]> but was:<...t Script
      Bailing out[
      log4j:WARN No appenders could be found for logger (org.apache.hadoop.mapred.Task).
      log4j:WARN Please initialize the log4j system properly.]>
      at org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript.testMapDebugScript(TestMiniMRMapRedDebugScript.java:212)

      1. patch-687.txt
        0.7 kB
        Amareshwari Sriramadasu

        Activity

        Hide
        Amareshwari Sriramadasu added a comment -

        Test fails whenever there log4j initialization warnings.
        I'm changing the test to assert whether DEBUGOUT contains the result, instead of assertEquals.

        Show
        Amareshwari Sriramadasu added a comment - Test fails whenever there log4j initialization warnings. I'm changing the test to assert whether DEBUGOUT contains the result, instead of assertEquals.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12417711/patch-687.txt
        against trunk revision 808082.

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 3 new or modified tests.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        -1 core tests. The patch failed core unit tests.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/521/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/521/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/521/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/521/console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12417711/patch-687.txt against trunk revision 808082. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/521/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/521/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/521/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/521/console This message is automatically generated.
        Hide
        Amareshwari Sriramadasu added a comment -

        -1 core tests. Due to MAPREDUCE-880

        Show
        Amareshwari Sriramadasu added a comment - -1 core tests. Due to MAPREDUCE-880
        Hide
        Sharad Agarwal added a comment -

        I committed this to trunk and branch 0.20. Thanks Amareshwari!

        Show
        Sharad Agarwal added a comment - I committed this to trunk and branch 0.20. Thanks Amareshwari!
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #8 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/8/)
        . Fix an assertion in TestMiniMRMapRedDebugScript. Contributed by Amareshwari Sriramadasu.

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #8 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/8/ ) . Fix an assertion in TestMiniMRMapRedDebugScript. Contributed by Amareshwari Sriramadasu.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #70 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/70/)

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #70 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/70/ )
        Hide
        Iyappan Srinivasan added a comment -

        This is happening in trunk 21 also.

        [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
        [junit] Test org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript FAILED

        Number 30 build. Can you checking there also.

        Show
        Iyappan Srinivasan added a comment - This is happening in trunk 21 also. [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] Test org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript FAILED Number 30 build. Can you checking there also.
        Hide
        Amareshwari Sriramadasu added a comment -

        Failure is because of a commit issue in MAPREDUCE-915. It is fixed now.

        Show
        Amareshwari Sriramadasu added a comment - Failure is because of a commit issue in MAPREDUCE-915 . It is fixed now.

          People

          • Assignee:
            Amareshwari Sriramadasu
            Reporter:
            Amar Kamat
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development