XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.1
    • Component/s: None
    • Labels:

      Description

      Prior to YARN-5366, container-executor would remove the Docker container when it exited. The removal is now handled by the DockerLinuxContainerRuntime. ContainerRelaunch is intended to reuse the workdir from the previous attempt, and does not call cleanupContainer prior to launchContainer. The container ID is reused as well. As a result, the previous Docker container still exists, resulting in an error from Docker indicating the a container by that name already exists.

        Attachments

        1. YARN-7973.001.patch
          48 kB
          Shane Kumpf
        2. YARN-7973.002.patch
          47 kB
          Shane Kumpf
        3. YARN-7973.003.patch
          47 kB
          Shane Kumpf
        4. YARN-7973.004.patch
          48 kB
          Shane Kumpf
        5. YARN-7973-branch-3.1.addendum.001.patch
          2 kB
          Eric Yang

          Issue Links

            Activity

              People

              • Assignee:
                shanekumpf@gmail.com Shane Kumpf
                Reporter:
                shanekumpf@gmail.com Shane Kumpf
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: