Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6694

Add certain envs to the default yarn.nodemanager.env-whitelist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-beta1
    • Component/s: None
    • Labels:
      None

      Description

      Certain envs can be added in the yarn.nodemanager.env-whitelist
      such as: HADOOP_HOME,PATH,LANG,TZ

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11958 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11958/)
        YARN-6694. Add certain envs to the default (xgong: rev 3be2659f83965a312d1095f03b7a95c7781c10af)

        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11958 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11958/ ) YARN-6694 . Add certain envs to the default (xgong: rev 3be2659f83965a312d1095f03b7a95c7781c10af) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
        Hide
        xgong Xuan Gong added a comment -

        Committed into trunk. Thanks, Jian

        Show
        xgong Xuan Gong added a comment - Committed into trunk. Thanks, Jian
        Hide
        xgong Xuan Gong added a comment -

        +1. Checking this in

        Show
        xgong Xuan Gong added a comment - +1. Checking this in
        Hide
        jianhe Jian He added a comment -

        Yeah, because certain downstream projects like hive are depending on the envs.

        Show
        jianhe Jian He added a comment - Yeah, because certain downstream projects like hive are depending on the envs.
        Hide
        shanekumpf@gmail.com Shane Kumpf added a comment -

        Thanks for the patch, Jian He. Can you help me understand the use case here and why we want to make this the default (versus having administrators add these for their cluster as needed)?

        Show
        shanekumpf@gmail.com Shane Kumpf added a comment - Thanks for the patch, Jian He . Can you help me understand the use case here and why we want to make this the default (versus having administrators add these for their cluster as needed)?
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 15s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 0m 0s 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 mvninstall 12m 34s trunk passed
        +1 compile 0m 26s trunk passed
        +1 mvnsite 0m 28s trunk passed
        +1 javadoc 0m 26s trunk passed
        +1 mvninstall 0m 24s the patch passed
        +1 compile 0m 24s the patch passed
        +1 javac 0m 24s the patch passed
        +1 mvnsite 0m 24s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 xml 0m 1s The patch has no ill-formed XML file.
        +1 javadoc 0m 22s the patch passed
        +1 unit 2m 22s hadoop-yarn-common in the patch passed.
        +1 asflicense 0m 16s The patch does not generate ASF License warnings.
        19m 0s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue YARN-6694
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12875104/YARN-6694.1.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
        uname Linux 83a717b88568 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:48:03 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 5a75f73
        Default Java 1.8.0_131
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16271/testReport/
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/16271/console
        Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 15s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s 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 mvninstall 12m 34s trunk passed +1 compile 0m 26s trunk passed +1 mvnsite 0m 28s trunk passed +1 javadoc 0m 26s trunk passed +1 mvninstall 0m 24s the patch passed +1 compile 0m 24s the patch passed +1 javac 0m 24s the patch passed +1 mvnsite 0m 24s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 1s The patch has no ill-formed XML file. +1 javadoc 0m 22s the patch passed +1 unit 2m 22s hadoop-yarn-common in the patch passed. +1 asflicense 0m 16s The patch does not generate ASF License warnings. 19m 0s Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue YARN-6694 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12875104/YARN-6694.1.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux 83a717b88568 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:48:03 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 5a75f73 Default Java 1.8.0_131 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16271/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common Console output https://builds.apache.org/job/PreCommit-YARN-Build/16271/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        jianhe Jian He added a comment -

        Attached a simple patch that adds the aforementioned properties in the default yarn.nodemanager.env-whitelist

        Show
        jianhe Jian He added a comment - Attached a simple patch that adds the aforementioned properties in the default yarn.nodemanager.env-whitelist

          People

          • Assignee:
            jianhe Jian He
            Reporter:
            jianhe Jian He
          • Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development