Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21936

Do not export YARN_CONF_DIR in 'yarn-env.sh' file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • ambari-server
    • None

    Description

      yarn-env.sh exports YARN_CONF_DIR

      yarn-env.sh
         # resolve links - $0 may be a softlink
            export YARN_CONF_DIR="${YARN_CONF_DIR:-$HADOOP_YARN_HOME/conf}"
      

      This causes in not respecting --config option for yarn daemon.
      Hence please remove the export

      Attachments

        1. AMBARI-21936.patch
          0.7 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: