Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5164

command "mapred job" and "mapred queue" omit HADOOP_CLIENT_OPTS

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3-alpha
    • 2.1.1-beta
    • None
    • None
    • Reviewed

    Description

      HADOOP_CLIENT_OPTS does not take effect when type "mapred job -list" and "mapred queue -list".
      The mapred script omit it

      Attachments

        1. MAPREDUCE-5164.patch
          1 kB
          Nemon Lou
        2. MAPREDUCE-5164.patch
          0.6 kB
          Nemon Lou
        3. MAPREDUCE-5164.patch
          1 kB
          Nemon Lou
        4. MAPREDUCE-5164.patch
          0.6 kB
          Nemon Lou

        Activity

          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12579320/MAPREDUCE-5164.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/3539//testReport/
          Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3539//console

          This message is automatically generated.

          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12579320/MAPREDUCE-5164.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/3539//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3539//console This message is automatically generated.
          nemon Nemon Lou added a comment -

          No test case added as it is a script change.

          nemon Nemon Lou added a comment - No test case added as it is a script change.
          cnauroth Chris Nauroth added a comment -

          +1 for the patch. I applied it locally and tested by using HADOOP_CLIENT_OPTS to set remote debugging JVM options when launching the "job", "queue", and "pipes" commands. Thanks, nemon!

          cnauroth Chris Nauroth added a comment - +1 for the patch. I applied it locally and tested by using HADOOP_CLIENT_OPTS to set remote debugging JVM options when launching the "job", "queue", and "pipes" commands. Thanks, nemon !
          nemon Nemon Lou added a comment -

          Change into the same way as HADOOP-8623 does.

          nemon Nemon Lou added a comment - Change into the same way as HADOOP-8623 does.
          nemon Nemon Lou added a comment -

          Notice that JobHistoryServer is also in this script,this patch is invalid.Changing back again.Sorry for that.

          nemon Nemon Lou added a comment - Notice that JobHistoryServer is also in this script,this patch is invalid.Changing back again.Sorry for that.
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12599376/MAPREDUCE-5164.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/3957//testReport/
          Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3957//console

          This message is automatically generated.

          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12599376/MAPREDUCE-5164.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/3957//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3957//console This message is automatically generated.
          devaraj Devaraj Kavali added a comment -

          Latest patch looks good to me. Can you also do the same changes for windows(i.e mapred.cmd)?

          devaraj Devaraj Kavali added a comment - Latest patch looks good to me. Can you also do the same changes for windows(i.e mapred.cmd)?
          nemon Nemon Lou added a comment -

          Patch updated, HADOOP_CLIENT_OPTS is added for windows CMD, too.

          nemon Nemon Lou added a comment - Patch updated, HADOOP_CLIENT_OPTS is added for windows CMD, too.
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12602322/MAPREDUCE-5164.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/3990//testReport/
          Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3990//console

          This message is automatically generated.

          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12602322/MAPREDUCE-5164.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/3990//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3990//console This message is automatically generated.
          devaraj Devaraj Kavali added a comment -

          +1, Patch looks good to me. Will commit this.

          devaraj Devaraj Kavali added a comment - +1, Patch looks good to me. Will commit this.
          devaraj Devaraj Kavali added a comment -

          Committed to trunk, branch-2.1-beta and branch-2.

          Thanks Nemon Lou.

          devaraj Devaraj Kavali added a comment - Committed to trunk, branch-2.1-beta and branch-2. Thanks Nemon Lou.
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-trunk-Commit #4403 (See https://builds.apache.org/job/Hadoop-trunk-Commit/4403/)
          MAPREDUCE-5164. mapred job and queue commands omit HADOOP_CLIENT_OPTS. Contributed by Nemon Lou. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1522595)

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
          • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-trunk-Commit #4403 (See https://builds.apache.org/job/Hadoop-trunk-Commit/4403/ ) MAPREDUCE-5164 . mapred job and queue commands omit HADOOP_CLIENT_OPTS. Contributed by Nemon Lou. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1522595 ) /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk #331 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/331/)
          MAPREDUCE-5164. mapred job and queue commands omit HADOOP_CLIENT_OPTS. Contributed by Nemon Lou. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1522595)

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
          • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #331 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/331/ ) MAPREDUCE-5164 . mapred job and queue commands omit HADOOP_CLIENT_OPTS. Contributed by Nemon Lou. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1522595 ) /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #1521 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1521/)
          MAPREDUCE-5164. mapred job and queue commands omit HADOOP_CLIENT_OPTS. Contributed by Nemon Lou. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1522595)

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
          • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #1521 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1521/ ) MAPREDUCE-5164 . mapred job and queue commands omit HADOOP_CLIENT_OPTS. Contributed by Nemon Lou. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1522595 ) /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #1547 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1547/)
          MAPREDUCE-5164. mapred job and queue commands omit HADOOP_CLIENT_OPTS. Contributed by Nemon Lou. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1522595)

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
          • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1547 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1547/ ) MAPREDUCE-5164 . mapred job and queue commands omit HADOOP_CLIENT_OPTS. Contributed by Nemon Lou. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1522595 ) /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd

          People

            nemon Nemon Lou
            nemon Nemon Lou
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: