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

Add support for configurable read-only mounts when launching Docker containers

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • yarn

    Description

      Mounting files or directories from the host is one way of passing configuration and other information into a docker container. We could allow the user to set a list of mounts in the environment of ContainerLaunchContext (e.g. /dir1:/targetdir1,/dir2:/targetdir2). These would be mounted read-only to the specified target locations.

      Due to permissions and user concerns, for this ticket we will require the mounts to be resources that are in the distributed cache.

      Attachments

        1. YARN-4595.1.patch
          7 kB
          Billie Rinaldi
        2. YARN-4595.2.patch
          7 kB
          Billie Rinaldi
        3. YARN-4595.3.patch
          10 kB
          Billie Rinaldi
        4. YARN-4595.4.patch
          11 kB
          Billie Rinaldi
        5. YARN-4595.5.patch
          11 kB
          Billie Rinaldi

        Activity

          People

            billie Billie Rinaldi
            billie Billie Rinaldi
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: