Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10664

Allow parameter expansion in NM_ADMIN_USER_ENV

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.1, 3.4.0
    • 3.4.0, 3.3.1, 3.2.3
    • yarn
    • None

    Description

      Currently, YarnConfiguration.NM_ADMIN_USER_ENV does not do parameter expansion.  That is, you cannot specify an environment variable such as

      {{JAVA_HOME}}

      and have it be expanded to $JAVA_HOME inside the container.

      We have a need for this in specifying different java gc options for java processing running inside yarn containers based on which version of java is being used.

      Attachments

        1. YARN-10664.001.patch
          12 kB
          Jim Brennan
        2. YARN-10664.002.patch
          10 kB
          Jim Brennan
        3. YARN-10664.003.patch
          10 kB
          Jim Brennan
        4. YARN-10664.004.patch
          13 kB
          Jim Brennan
        5. YARN-10664-branch-3.2.004.patch
          11 kB
          Jim Brennan

        Activity

          People

            jbrennan Jim Brennan
            jbrennan Jim Brennan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: