Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestMiniMRDFSSort.testMapReduceSortWithJvmReuse actually does not test jvm running multiple tasks. In the test, each jvm runs only one task.

      1. h5437.patch
        6 kB
        Owen O'Malley
      2. h5437.patch
        6 kB
        Owen O'Malley
      3. h5437.patch
        5 kB
        Owen O'Malley
      4. patch-5437.txt
        2 kB
        Amareshwari Sriramadasu

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Patch Available Patch Available Open Open
        25d 19h 11m 3 Chris Douglas 04/Apr/09 03:20
        Open Open Patch Available Patch Available
        2d 4h 33m 4 Owen O'Malley 06/Apr/09 06:24
        Patch Available Patch Available Resolved Resolved
        1h 7m 1 Owen O'Malley 06/Apr/09 07:31
        Resolved Resolved Closed Closed
        17d 12h 46m 1 Nigel Daley 23/Apr/09 20:18
        Owen O'Malley made changes -
        Component/s mapred [ 12310690 ]
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Hadoop-trunk #800 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/800/ )
        Owen O'Malley made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Owen O'Malley added a comment -

        I just committed this.

        Show
        Owen O'Malley added a comment - I just committed this.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12404690/h5437.patch
        against trunk revision 761838.

        +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 Eclipse classpath. The patch retains Eclipse classpath integrity.

        +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-minerva.apache.org/116/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/116/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/116/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/116/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/12404690/h5437.patch against trunk revision 761838. +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 Eclipse classpath. The patch retains Eclipse classpath integrity. +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-minerva.apache.org/116/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/116/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/116/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/116/console This message is automatically generated.
        Owen O'Malley made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hadoop Flags [Reviewed]
        Owen O'Malley made changes -
        Attachment h5437.patch [ 12404690 ]
        Hide
        Owen O'Malley added a comment -

        The complete patch for the record. As Chris correctly guessed, my last patch was based off of the previous patch. This patch puts them together.

        Show
        Owen O'Malley added a comment - The complete patch for the record. As Chris correctly guessed, my last patch was based off of the previous patch. This patch puts them together.
        Chris Douglas made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Hide
        Chris Douglas added a comment -

        The diff is relative to trunk + the previous patch

        Show
        Chris Douglas added a comment - The diff is relative to trunk + the previous patch
        Hide
        Chris Douglas added a comment -

        +1

        Show
        Chris Douglas added a comment - +1
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12404611/h5437.patch
        against trunk revision 761838.

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

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

        -1 patch. The patch command could not apply the patch.

        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/114/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/12404611/h5437.patch against trunk revision 761838. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/114/console This message is automatically generated.
        Owen O'Malley made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Owen O'Malley made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Owen O'Malley made changes -
        Attachment h5437.patch [ 12404611 ]
        Hide
        Owen O'Malley added a comment -

        This patch:
        1. Sets the mappers to 12 for sort.
        2. Uses the test setup and splits the test cases.
        3. Increases the data per a map to 3mb, to guarantee a spill.

        Show
        Owen O'Malley added a comment - This patch: 1. Sets the mappers to 12 for sort. 2. Uses the test setup and splits the test cases. 3. Increases the data per a map to 3mb, to guarantee a spill.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12404552/h5437.patch
        against trunk revision 761632.

        +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 Eclipse classpath. The patch retains Eclipse classpath integrity.

        +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 failed contrib unit tests.

        Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/110/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/110/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/110/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/110/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/12404552/h5437.patch against trunk revision 761632. +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 Eclipse classpath. The patch retains Eclipse classpath integrity. +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 failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/110/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/110/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/110/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/110/console This message is automatically generated.
        Owen O'Malley made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Owen O'Malley made changes -
        Assignee Amareshwari Sriramadasu [ amareshwari ] Owen O'Malley [ owen.omalley ]
        Owen O'Malley made changes -
        Attachment h5437.patch [ 12404552 ]
        Hide
        Owen O'Malley added a comment -

        This patch:
        1. Removes the min split size from the sort run that was effectively forcing 6 maps (and therefore not allowing real jvm reuse).
        2. Removes the duplicated set up and tear down the hdfs and mapred cluster.
        3. Runs the sort in jvm reuse mode.
        4. Adds a new test that uses a static in the mapper to detect whether the jvms are actually reused or not. It tests the reuse flag set to -1 and 1.

        Show
        Owen O'Malley added a comment - This patch: 1. Removes the min split size from the sort run that was effectively forcing 6 maps (and therefore not allowing real jvm reuse). 2. Removes the duplicated set up and tear down the hdfs and mapred cluster. 3. Runs the sort in jvm reuse mode. 4. Adds a new test that uses a static in the mapper to detect whether the jvms are actually reused or not. It tests the reuse flag set to -1 and 1.
        Owen O'Malley made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Hide
        Owen O'Malley added a comment -

        This test doesn't detect if jvm reuse is actually working.

        Show
        Owen O'Malley added a comment - This test doesn't detect if jvm reuse is actually working.
        Owen O'Malley made changes -
        Fix Version/s 0.20.0 [ 12313438 ]
        Fix Version/s 0.21.0 [ 12313563 ]
        Priority Minor [ 4 ] Blocker [ 1 ]
        Hide
        Amareshwari Sriramadasu added a comment -

        Test failure TestJobHistory is not related to the patch.

        Show
        Amareshwari Sriramadasu added a comment - Test failure TestJobHistory is not related to the patch.
        Hide
        Hadoop QA added a comment -

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

        +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 Eclipse classpath. The patch retains Eclipse classpath integrity.

        +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-minerva.apache.org/41/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/41/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/41/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/41/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/12401736/patch-5437.txt against trunk revision 751870. +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 Eclipse classpath. The patch retains Eclipse classpath integrity. +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-minerva.apache.org/41/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/41/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/41/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/41/console This message is automatically generated.
        Amareshwari Sriramadasu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Amareshwari Sriramadasu [ amareshwari ]
        Amareshwari Sriramadasu made changes -
        Field Original Value New Value
        Attachment patch-5437.txt [ 12401736 ]
        Hide
        Amareshwari Sriramadasu added a comment -

        Attaching the patch fixing the testcase.

        The problem was: The configuration mapred.job.reuse.jvm.num.tasks wa set to -1, but never passed to cluster. Moreover, it should be job configuration, and not cluster configuration, since the configuration is a job-level configuration at tasktarcker.
        With the patch I verified jvm reuse is on and each jvm runs multiple tasks.

        Show
        Amareshwari Sriramadasu added a comment - Attaching the patch fixing the testcase. The problem was: The configuration mapred.job.reuse.jvm.num.tasks wa set to -1, but never passed to cluster. Moreover, it should be job configuration, and not cluster configuration, since the configuration is a job-level configuration at tasktarcker. With the patch I verified jvm reuse is on and each jvm runs multiple tasks.
        Amareshwari Sriramadasu created issue -

          People

          • Assignee:
            Owen O'Malley
            Reporter:
            Amareshwari Sriramadasu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development