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

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

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment