Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.1
    • Component/s: contrib/streaming
    • Labels:
      None

      Description

      Streaming isn't checking for mapreduce.framework.name as part of check for 'local' mode.

      1. MAPREDUCE-3604.patch
        4 kB
        Arun C Murthy
      2. MAPREDUCE-3604.patch
        3 kB
        Arun C Murthy

        Activity

        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #942 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/942/)
        MAPREDUCE-3604. Fixed streaming to use new mapreduce.framework.name to check for local mode.

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #942 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/942/ ) MAPREDUCE-3604 . Fixed streaming to use new mapreduce.framework.name to check for local mode. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225259 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #143 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/143/)
        Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #143 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/143/ ) Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225261 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #122 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/122/)
        Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #122 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/122/ ) Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225261 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #909 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/909/)
        MAPREDUCE-3604. Fixed streaming to use new mapreduce.framework.name to check for local mode.

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #909 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/909/ ) MAPREDUCE-3604 . Fixed streaming to use new mapreduce.framework.name to check for local mode. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225259 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1496 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1496/)
        MAPREDUCE-3604. Fixed streaming to use new mapreduce.framework.name to check for local mode.

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1496 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1496/ ) MAPREDUCE-3604 . Fixed streaming to use new mapreduce.framework.name to check for local mode. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225259 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #335 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/335/)
        Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #335 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/335/ ) Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225261 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #324 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/324/)
        Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #324 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/324/ ) Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225261 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1475 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1475/)
        MAPREDUCE-3604. Fixed streaming to use new mapreduce.framework.name to check for local mode.

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1475 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1475/ ) MAPREDUCE-3604 . Fixed streaming to use new mapreduce.framework.name to check for local mode. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225259 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #313 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/313/)
        Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #313 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/313/ ) Merge -c 1225259 from trunk to branch-0.23 to fix MAPREDUCE-3604 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225261 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1547 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1547/)
        MAPREDUCE-3604. Fixed streaming to use new mapreduce.framework.name to check for local mode.

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java
        • /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1547 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1547/ ) MAPREDUCE-3604 . Fixed streaming to use new mapreduce.framework.name to check for local mode. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225259 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamUtil.java /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestMRFramework.java
        Hide
        Arun C Murthy added a comment -

        I just committed this.

        Show
        Arun C Murthy added a comment - I just committed this.
        Hide
        Mahadev konar added a comment -

        +1 looks good. BTW, just for the sake of it, I tried running Hadoop 1.0.0 streaming jar against a 0.23 cluster as:

        hadoop-0.23/bin/hadoop jar hadoop-1.0.0/contrib/streaming/hadoop-streaming-1.0.0.jar -Dmapreduce.jobtracker.address="test" -mapper cat -reducer cat -input stream.txt -output out8
        

        and it ran successfully.

        Show
        Mahadev konar added a comment - +1 looks good. BTW, just for the sake of it, I tried running Hadoop 1.0.0 streaming jar against a 0.23 cluster as: hadoop-0.23/bin/hadoop jar hadoop-1.0.0/contrib/streaming/hadoop-streaming-1.0.0.jar -Dmapreduce.jobtracker.address="test" -mapper cat -reducer cat -input stream.txt -output out8 and it ran successfully.
        Hide
        Hadoop QA added a comment -

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

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

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

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

        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1513//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/12508732/MAPREDUCE-3604.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 2 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1513//console This message is automatically generated.
        Hide
        Arun C Murthy added a comment -

        Removed unused imports.

        Show
        Arun C Murthy added a comment - Removed unused imports.
        Hide
        Hadoop QA added a comment -

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

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

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

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

        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1512//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/12508731/MAPREDUCE-3604.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 2 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1512//console This message is automatically generated.
        Hide
        Arun C Murthy added a comment -

        Straight-forward patch.

        Show
        Arun C Murthy added a comment - Straight-forward patch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development