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 15:13:00 UTC

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

Vitaly Brodetskyi created AMBARI-21936:
------------------------------------------

             Summary: 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


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)