Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.24.0
    • Fix Version/s: 0.23.1
    • Component/s: contrib/gridmix
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Tags:
      gridmix

      Description

      TestDistCacheEmulation is broken as 'MapReduceTestUtil' no longer exists.

        Activity

        Hide
        Hitesh Shah added a comment -

        I believe its now in hadoop-mapreduce-client-jobclient-tests.jar.

        Show
        Hitesh Shah added a comment - I believe its now in hadoop-mapreduce-client-jobclient-tests.jar.
        Hide
        Amar Kamat added a comment -

        I see lot of test with such issues. A simple search for the 'createDummyMapTaskAttemptContext(' gives the following result.

        hadoop-mapreduce-project/src/contrib/gridmix/src/test/org/apache/hadoop/mapred/gridmix/TestDistCacheEmulation.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRKeyValueTextInputFormat.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRKeyValueTextInputFormat.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRKeyValueTextInputFormat.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRKeyValueTextInputFormat.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRSequenceFileAsBinaryInputFormat.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRSequenceFileAsTextInputFormat.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRSequenceFileInputFilter.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestNLineInputFormat.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/join/TestJoinProperties.java
        hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/output/TestMRSequenceFileAsBinaryOutputFormat.java
        
        Show
        Amar Kamat added a comment - I see lot of test with such issues. A simple search for the 'createDummyMapTaskAttemptContext(' gives the following result. hadoop-mapreduce-project/src/contrib/gridmix/src/test/org/apache/hadoop/mapred/gridmix/TestDistCacheEmulation.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRKeyValueTextInputFormat.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRKeyValueTextInputFormat.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRKeyValueTextInputFormat.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRKeyValueTextInputFormat.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRSequenceFileAsBinaryInputFormat.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRSequenceFileAsTextInputFormat.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestMRSequenceFileInputFilter.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/input/TestNLineInputFormat.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/join/TestJoinProperties.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/lib/output/TestMRSequenceFileAsBinaryOutputFormat.java
        Hide
        Amar Kamat added a comment -

        Hitesh,
        I assume that you are aware of the code changes required to fix this JIRA. Can you kindly take this up?

        Show
        Amar Kamat added a comment - Hitesh, I assume that you are aware of the code changes required to fix this JIRA. Can you kindly take this up?
        Hide
        Mahadev konar added a comment -

        Looks good. We should probably delete the streaming dir.

        Show
        Mahadev konar added a comment - Looks good. We should probably delete the streaming dir.
        Hide
        Mahadev konar added a comment -

        Just committed this. Thanks Hitesh.

        Show
        Mahadev konar added a comment - Just committed this. Thanks Hitesh.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1386 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1386/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454. via mahadev)

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1386 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1386/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454 . via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1313 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1313/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454. via mahadev)

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1313 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1313/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454 . via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #215 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/215/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk.

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #215 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/215/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #204 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/204/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk.

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #204 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/204/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #201 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/201/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk.

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #201 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/201/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hadoop QA added a comment -

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

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

        +1 tests included. The patch appears to include 1 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 appears to introduce 12 new Findbugs (version 1.3.9) warnings.

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

        +1 core tests. The patch passed unit tests in .

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

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1338//testReport/
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1338//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-examples.html
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1338//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/12504784/MR-3454.1.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 1 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 appears to introduce 12 new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1338//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1338//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-examples.html Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1338//console This message is automatically generated.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1336 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1336/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454. via mahadev)

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1336 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1336/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454 . via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #85 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/85/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk.

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #85 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/85/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #872 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/872/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454. via mahadev)

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #872 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/872/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454 . via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #102 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/102/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk.

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #102 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/102/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah via mahadev) - Merging r1205143 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205144 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #906 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/906/)
        MAPREDUCE-3454. [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454. via mahadev)

        mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #906 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/906/ ) MAPREDUCE-3454 . [Gridmix] TestDistCacheEmulation is broken (Hitesh Shah MAPREDUCE-3454 . via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205143 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/gridmix/ivy.xml /hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/streaming

          People

          • Assignee:
            Hitesh Shah
            Reporter:
            Amar Kamat
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development