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

The MR Application Master does not have a config to set environment variables

    Details

      Description

      There is no mechanism for defining environment variables (i.e. LD_LIBRARY_PATH) for the MRAppMaster.

      1. MAPREDUCE-4746.patch
        2 kB
        Robert Parker
      2. MAPREDUCE-4746v1.patch
        4 kB
        Robert Parker

        Activity

        Hide
        Robert Parker added a comment -

        Patch to define the config and add it to the AM environment.

        Show
        Robert Parker added a comment - Patch to define the config and add it to the AM environment.
        Hide
        Robert Parker added a comment -

        Patch to define the config and apply it to the MR AM environment

        Show
        Robert Parker added a comment - Patch to define the config and apply it to the MR AM environment
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12550692/MAPREDUCE-4746.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 failed these unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient:

        org.apache.hadoop.mapred.TestClusterMRNotification

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

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2966//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2966//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/12550692/MAPREDUCE-4746.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 failed these unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient: org.apache.hadoop.mapred.TestClusterMRNotification +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2966//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2966//console This message is automatically generated.
        Hide
        Robert Joseph Evans added a comment -

        My biggest comment is that this needs to be added to mapred-default.xml so that there is documentation for it.

        Show
        Robert Joseph Evans added a comment - My biggest comment is that this needs to be added to mapred-default.xml so that there is documentation for it.
        Hide
        Robert Parker added a comment -

        Added MR App Master command options and env options to the mapred-default.xml. Verified that the patch applies successfully to trunk.

        Show
        Robert Parker added a comment - Added MR App Master command options and env options to the mapred-default.xml. Verified that the patch applies successfully to trunk.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12550969/MAPREDUCE-4746v1.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 failed these unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient:

        org.apache.hadoop.mapred.TestClusterMRNotification

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

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2968//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2968//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/12550969/MAPREDUCE-4746v1.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 failed these unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient: org.apache.hadoop.mapred.TestClusterMRNotification +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2968//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2968//console This message is automatically generated.
        Hide
        Robert Joseph Evans added a comment -

        Could you also take a quick look at the test failure. It has happened for you twice. I cannot see how this would be causing it, but if it is not please file a JIRA for it, as I could not find one for it.

        Show
        Robert Joseph Evans added a comment - Could you also take a quick look at the test failure. It has happened for you twice. I cannot see how this would be causing it, but if it is not please file a JIRA for it, as I could not find one for it.
        Hide
        Robert Parker added a comment -

        Applied the patch to trunk and the test passed. Created MAPREDUCE-4753.

        Show
        Robert Parker added a comment - Applied the patch to trunk and the test passed. Created MAPREDUCE-4753 .
        Hide
        Robert Joseph Evans added a comment -

        Looks good +1, I'll check this in.

        Show
        Robert Joseph Evans added a comment - Looks good +1, I'll check this in.
        Hide
        Robert Joseph Evans added a comment -

        Thanks Rob,

        I put this into trunk, branch-2, and branch-0.23

        Show
        Robert Joseph Evans added a comment - Thanks Rob, I put this into trunk, branch-2, and branch-0.23
        Hide
        Hudson added a comment -

        Integrated in Hadoop-trunk-Commit #2948 (See https://builds.apache.org/job/Hadoop-trunk-Commit/2948/)
        MAPREDUCE-4746. The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404674)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Show
        Hudson added a comment - Integrated in Hadoop-trunk-Commit #2948 (See https://builds.apache.org/job/Hadoop-trunk-Commit/2948/ ) MAPREDUCE-4746 . The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404674) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1404674 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Yarn-trunk #24 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/24/)
        MAPREDUCE-4746. The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404674)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Show
        Hudson added a comment - Integrated in Hadoop-Yarn-trunk #24 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/24/ ) MAPREDUCE-4746 . The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404674) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1404674 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #423 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/423/)
        svn merge -c 1404674 FIXES: MAPREDUCE-4746. The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404678)

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #423 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/423/ ) svn merge -c 1404674 FIXES: MAPREDUCE-4746 . The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404678) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1404678 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1214 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1214/)
        MAPREDUCE-4746. The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404674)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1214 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1214/ ) MAPREDUCE-4746 . The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404674) Result = FAILURE bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1404674 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1244 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1244/)
        MAPREDUCE-4746. The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404674)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1244 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1244/ ) MAPREDUCE-4746 . The MR Application Master does not have a config to set environment variables (Rob Parker via bobby) (Revision 1404674) Result = FAILURE bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1404674 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/YARNRunner.java

          People

          • Assignee:
            Robert Parker
            Reporter:
            Robert Parker
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development