You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2017/09/12 16:48:01 UTC

[jira] [Updated] (AMBARI-21936) Do not export YARN_CONF_DIR in 'yarn-env.sh' file

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

Vitaly Brodetskyi updated AMBARI-21936:
---------------------------------------
    Attachment: AMBARI-21936.patch

> Do not export YARN_CONF_DIR in 'yarn-env.sh' file
> -------------------------------------------------
>
>                 Key: AMBARI-21936
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21936
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Blocker
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-21936.patch
>
>
> yarn-env.sh exports YARN_CONF_DIR 
> {code:title=yarn-env.sh}
>    # resolve links - $0 may be a softlink
>       export YARN_CONF_DIR="${YARN_CONF_DIR:-$HADOOP_YARN_HOME/conf}"
> {code}
> This causes in not respecting --config option for yarn daemon.
> Hence please remove the export



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)