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

Can't specify docker runtime through environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • nodemanager
    • None

    Description

      When use docker to run yarn containers, even though there is docker.allowed.runtimes in container-executor.cfg, there are not parameter to specify the docker runtime, such as gvisor, lxc or kata. With this patch, client can add parameter such as -Dyarn.app.mapreduce.am.env.YARN_CONTAINER_RUNTIME_DOCKER_RUNTIME=runsc to specify docker runtime.

      Attachments

        1. YARN-9379-branch-3.2.0.001.patch
          2 kB
          caozhiqiang
        2. YARN-9379.006.patch
          9 kB
          caozhiqiang
        3. YARN-9379.005.patch
          10 kB
          caozhiqiang
        4. YARN-9379.004.patch
          4 kB
          caozhiqiang
        5. YARN-9379.003.patch
          4 kB
          caozhiqiang
        6. YARN-9379.002.patch
          4 kB
          caozhiqiang

        Activity

          People

            caozhiqiang caozhiqiang
            caozhiqiang caozhiqiang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: