Hadoop Common
  1. Hadoop Common
  2. HADOOP-8183

Stop using "mapred.used.genericoptionsparser" to avoid unnecessary warnings

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 2.0.0-alpha, 0.23.4
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Its about time we stopped the following from appearing in 0.23/trunk:

      12/03/19 20:53:51 WARN conf.Configuration: mapred.used.genericoptionsparser is deprecated. Instead, use mapreduce.client.genericoptionsparser.used
      

        Activity

        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #388 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/388/)
        svn merge -c 1302598 FIXES: HADOOP-8183. Stop using mapred.used.genericoptions.parser (harsh) (Revision 1391274)

        Result = UNSTABLE
        jlowe : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1391274
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #388 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/388/ ) svn merge -c 1302598 FIXES: HADOOP-8183 . Stop using mapred.used.genericoptions.parser (harsh) (Revision 1391274) Result = UNSTABLE jlowe : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1391274 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Harsh J added a comment -

        Thanks Jason. Nicer OOB experience

        Show
        Harsh J added a comment - Thanks Jason. Nicer OOB experience
        Hide
        Jason Lowe added a comment -

        I merged this into branch-0.23.

        Show
        Jason Lowe added a comment - I merged this into branch-0.23.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1025 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1025/)
        HADOOP-8183. Stop using mapred.used.genericoptions.parser (harsh) (Revision 1302598)

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

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1025 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1025/ ) HADOOP-8183 . Stop using mapred.used.genericoptions.parser (harsh) (Revision 1302598) Result = SUCCESS harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302598 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #231 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/231/)
        svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. (Revision 1302626)

        Result = FAILURE
        harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302626
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #231 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/231/ ) svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. (Revision 1302626) Result = FAILURE harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302626 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #709 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/709/)
        svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. (Revision 1302626)

        Result = ABORTED
        harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302626
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #709 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/709/ ) svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. (Revision 1302626) Result = ABORTED harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302626 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #692 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/692/)
        svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. (Revision 1302626)

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

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #692 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/692/ ) svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. (Revision 1302626) Result = SUCCESS harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302626 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #701 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/701/)
        svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. (Revision 1302626)

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

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #701 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/701/ ) svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. (Revision 1302626) Result = SUCCESS harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302626 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1907 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1907/)
        HADOOP-8183. Stop using mapred.used.genericoptions.parser (harsh) (Revision 1302598)

        Result = ABORTED
        harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302598
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1907 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1907/ ) HADOOP-8183 . Stop using mapred.used.genericoptions.parser (harsh) (Revision 1302598) Result = ABORTED harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302598 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Harsh J added a comment -

        Thanks Todd, committed the trivial change to branch-0.23 and trunk.

        One less warn everytime

        Show
        Harsh J added a comment - Thanks Todd, committed the trivial change to branch-0.23 and trunk. One less warn everytime
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1899 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1899/)
        HADOOP-8183. Stop using mapred.used.genericoptions.parser (harsh) (Revision 1302598)

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

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1899 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1899/ ) HADOOP-8183 . Stop using mapred.used.genericoptions.parser (harsh) (Revision 1302598) Result = SUCCESS harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302598 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1973 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1973/)
        HADOOP-8183. Stop using mapred.used.genericoptions.parser (harsh) (Revision 1302598)

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

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1973 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1973/ ) HADOOP-8183 . Stop using mapred.used.genericoptions.parser (harsh) (Revision 1302598) Result = SUCCESS harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302598 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java
        Hide
        Todd Lipcon added a comment -

        +1

        Show
        Todd Lipcon 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/12518911/HADOOP-8183.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 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 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-HADOOP-Build/728//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/728//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/12518911/HADOOP-8183.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 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 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-HADOOP-Build/728//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/728//console This message is automatically generated.

          People

          • Assignee:
            Harsh J
            Reporter:
            Harsh J
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development