hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7677) Docker image cannot set HADOOP_CONF_DIR
Date Mon, 19 Feb 2018 14:45:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-7677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jason Lowe updated YARN-7677:
    Fix Version/s:     (was: 3.1.0)

I reverted this from trunk and branch-3.1.  While the breakage is definitely triggered by
this JIRA, I actually think the root cause is the same problem described in YARN-5714.

The only explicit ordering change done by this JIRA is to place inherited NM whitelisted variables
before variables in the container launch context.  Looking at Rohith's configs, neither CLASSPATH
nor HADOOP_MAPRED_HOME are in the NM whitelist variables.  Therefore I think this JIRA ended
up inadvertently changing the iteration order of the user environment hashmap due to fewer
variables being stored in that hashmap than before.

We're going to have to wait until YARN-5714 is fixed before this can go in.

> Docker image cannot set HADOOP_CONF_DIR
> ---------------------------------------
>                 Key: YARN-7677
>                 URL: https://issues.apache.org/jira/browse/YARN-7677
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Eric Badger
>            Assignee: Jim Brennan
>            Priority: Major
>         Attachments: YARN-7677.001.patch, YARN-7677.002.patch, YARN-7677.003.patch, YARN-7677.004.patch,
> Currently, {{HADOOP_CONF_DIR}} is being put into the task environment whether it's set
by the user or not. It completely bypasses the whitelist and so there is no way for a task
to not have {{HADOOP_CONF_DIR}} set. This causes problems in the Docker use case where Docker
containers will set up their own environment and have their own {{HADOOP_CONF_DIR}} preset
in the image itself. 

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