Details

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

      LINUX

    • Hadoop Flags:
      Reviewed

      Description

      Looks like TestUlimit fails on Linux

      Testcase: testCommandLine took 26.607 sec
        FAILED
      output is wrong expected:<786432> but was:<Error occurred during initialization of VM
      Could not reserve enough space for object heap>
      junit.framework.ComparisonFailure: output is wrong expected:<786432> but was:<Error occurred during initialization of VM
      Could not reserve enough space for object heap>
        at org.apache.hadoop.streaming.TestUlimit.runProgram(TestUlimit.java:120)
        at org.apache.hadoop.streaming.TestUlimit.testCommandLine(TestUlimit.java:90)
      
      

        Activity

        Hide
        Arun C Murthy added a comment -

        Marking this as a blocker for 0.17.0; build-contrib.xml wastefully sets maxMemory to 1.2GB - needs to be fixed, along with TestUlimit.java.

        Show
        Arun C Murthy added a comment - Marking this as a blocker for 0.17.0; build-contrib.xml wastefully sets maxMemory to 1.2GB - needs to be fixed, along with TestUlimit.java.
        Hide
        Arun C Murthy added a comment -

        Patch which fixes TestUlimit by reducing the 'maxMemory' of the src/contrib's junit tests, and ensures that it is respected by StreamUtil.makeJavaCommand (which has been broken for a long while...).

        I had to also fix TestStreamingExitStatus which has an unnecessary 'tearDown' which occassionally fails; removed it completely.

        Show
        Arun C Murthy added a comment - Patch which fixes TestUlimit by reducing the 'maxMemory' of the src/contrib's junit tests, and ensures that it is respected by StreamUtil.makeJavaCommand (which has been broken for a long while...). I had to also fix TestStreamingExitStatus which has an unnecessary 'tearDown' which occassionally fails; removed it completely.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        > I had to also fix TestStreamingExitStatus ...

        Good catch. I just have got TestStreamingExitStatus failed several times.

        Show
        Tsz Wo Nicholas Sze added a comment - > I had to also fix TestStreamingExitStatus ... Good catch. I just have got TestStreamingExitStatus failed several times.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12381806/HADOOP-3372_0_20080509.patch
        against trunk revision 654973.

        +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/Hadoop-Patch/2445/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2445/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2445/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2445/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/12381806/HADOOP-3372_0_20080509.patch against trunk revision 654973. +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/Hadoop-Patch/2445/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2445/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2445/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2445/console This message is automatically generated.
        Hide
        Arun C Murthy added a comment -

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

        TestBalance is the failed test-case, unrelated to this patch.

        Show
        Arun C Murthy added a comment - -1 core tests. The patch failed core unit tests. TestBalance is the failed test-case, unrelated to this patch.
        Hide
        Chris Douglas added a comment -

        +1 Patch looks good

        Show
        Chris Douglas added a comment - +1 Patch looks good
        Hide
        Chris Douglas added a comment -

        I just committed this. Thanks, Arun

        Show
        Chris Douglas added a comment - I just committed this. Thanks, Arun
        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Hadoop-trunk #489 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/489/ )

          People

          • Assignee:
            Arun C Murthy
            Reporter:
            Lohit Vijayarenu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development