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

mapred shell script should respect usage flags (--help -help -h)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Target Version/s:

      Description

      Like in HADOOP-9267, the mapred shell script should respect the normal Unix-y help flags.

        Activity

        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1357 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1357/)
        MAPREDUCE-5033. mapred shell script should respect usage flags (--help -help -h). Contributed by Andrew Wang. (Revision 1450584)

        Result = SUCCESS
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1450584
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1357 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1357/ ) MAPREDUCE-5033 . mapred shell script should respect usage flags (--help -help -h). Contributed by Andrew Wang. (Revision 1450584) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1450584 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1329 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1329/)
        MAPREDUCE-5033. mapred shell script should respect usage flags (--help -help -h). Contributed by Andrew Wang. (Revision 1450584)

        Result = SUCCESS
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1450584
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1329 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1329/ ) MAPREDUCE-5033 . mapred shell script should respect usage flags (--help -help -h). Contributed by Andrew Wang. (Revision 1450584) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1450584 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Yarn-trunk #140 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/140/)
        MAPREDUCE-5033. mapred shell script should respect usage flags (--help -help -h). Contributed by Andrew Wang. (Revision 1450584)

        Result = SUCCESS
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1450584
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-Yarn-trunk #140 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/140/ ) MAPREDUCE-5033 . mapred shell script should respect usage flags (--help -help -h). Contributed by Andrew Wang. (Revision 1450584) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1450584 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Hide
        Hudson added a comment -

        Integrated in Hadoop-trunk-Commit #3388 (See https://builds.apache.org/job/Hadoop-trunk-Commit/3388/)
        MAPREDUCE-5033. mapred shell script should respect usage flags (--help -help -h). Contributed by Andrew Wang. (Revision 1450584)

        Result = SUCCESS
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1450584
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-trunk-Commit #3388 (See https://builds.apache.org/job/Hadoop-trunk-Commit/3388/ ) MAPREDUCE-5033 . mapred shell script should respect usage flags (--help -help -h). Contributed by Andrew Wang. (Revision 1450584) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1450584 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Hide
        Aaron T. Myers added a comment -

        I've just committed this to trunk and branch-2.

        Thanks a lot for the contribution, Andrew.

        Show
        Aaron T. Myers added a comment - I've just committed this to trunk and branch-2. Thanks a lot for the contribution, Andrew.
        Hide
        Aaron T. Myers added a comment -

        +1, patch looks good to me. I'm going to commit this momentarily.

        Show
        Aaron T. Myers added a comment - +1, patch looks good to me. I'm going to commit this momentarily.
        Hide
        Hadoop QA added a comment -

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

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

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

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

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

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any 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/3363//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3363//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/12571051/mapreduce-5033-1.patch against trunk revision . +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any 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/3363//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3363//console This message is automatically generated.
        Hide
        Andrew Wang added a comment -

        Little patch attached. Tested manually by running the mapred script.

        Show
        Andrew Wang added a comment - Little patch attached. Tested manually by running the mapred script.

          People

          • Assignee:
            Andrew Wang
            Reporter:
            Andrew Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development