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

Support set environment variables for Docker Containers In nonEntryPoint mode

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Component/s: nodemanager
    • Labels:
    • Target Version/s:

      Description

      In yarn 3.1.1, users can only set environment variables with "-shell_env" in ENTRYPOINT mode, and variables must be registered in yarn.nodemanager.env-whitelist.
      But in nonEntryPoint mode, we should allow users to set environment variables like "-e KEY=VAULE" in docker run command, too.

        Attachments

        1. YARN-9053.patch
          1 kB
          dockerzhang

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Charo Zhang dockerzhang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: