hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5877) Allow all nm-whitelist-env to get overridden during launch
Date Mon, 12 Dec 2016 07:17:58 GMT

    [ https://issues.apache.org/jira/browse/YARN-5877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15741195#comment-15741195

Sunil G commented on YARN-5877:

In MAPREDUCE-6704, *temp.patch* was attached which is same as the latest patch attached in
this jira. [~bibinchundatt], please confirm that point.
Also with that patch, [~tangzhankun] has tested in a docker env and it was working fine as
per last statement there.
It seems [~bibinchundatt] also has tested patch 2 (same as patch 4) in a docker environment
(with sequenceiq docker image).

I agree with [~templedf] here, it will be a good chance to write this test case which was
not there in first place. [~bibinchundatt], as part of this test, i think we just need to
ensure that the env variable is written as whitelisted env when supplied from {{yarn.nodemanager.env-whitelist}}

> Allow all nm-whitelist-env to get overridden during launch
> ----------------------------------------------------------
>                 Key: YARN-5877
>                 URL: https://issues.apache.org/jira/browse/YARN-5877
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>         Attachments: Dockerfile, YARN-5877.0001.patch, YARN-5877.0002.patch, YARN-5877.0003.patch,
YARN-5877.0004.patch, bootstrap.sh, yarn-site.xml
> As per the {{yarn.nodemanager.env-whitelist}} for the configured values should  containers
may override rather than use NodeManager's default.
> {code}
>   <property>
>     <description>Environment variables that containers may override rather than
use NodeManager's default.</description>
>     <name>yarn.nodemanager.env-whitelist</name>
>   </property>
> {code}
> But only the following containers can override
> {code}
>     whitelist.add(ApplicationConstants.Environment.HADOOP_YARN_HOME.name());
>     whitelist.add(ApplicationConstants.Environment.HADOOP_COMMON_HOME.name());
>     whitelist.add(ApplicationConstants.Environment.HADOOP_HDFS_HOME.name());
>     whitelist.add(ApplicationConstants.Environment.HADOOP_CONF_DIR.name());
>     whitelist.add(ApplicationConstants.Environment.JAVA_HOME.name());
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message