Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3611 Support Docker Containers In LinuxContainerExecutor
  3. YARN-8029

YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS should not use commas as separators

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.0.0
    • None
    • yarn

    Description

      The following docker-related environment variables specify a comma-separated list of mounts:

      YARN_CONTAINER_RUNTIME_DOCKER_LOCAL_RESOURCE_MOUNTS
      YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS

      This is a problem because hadoop -Dmapreduce.map.env and related options use comma as a delimiter. So if I put more than one mount in YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS the comma in the variable will be treated as a delimiter for the hadoop command line option and all but the first mount will be ignored.

      Attachments

        1. YARN-8029.002.patch
          8 kB
          Jim Brennan
        2. YARN-8029.001.patch
          8 kB
          Jim Brennan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: