You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Shane Kumpf (JIRA)" <ji...@apache.org> on 2017/03/08 17:52:38 UTC

[jira] [Created] (YARN-6305) Improve signaling of short lived containers

Shane Kumpf created YARN-6305:
---------------------------------

             Summary: Improve signaling of short lived containers
                 Key: YARN-6305
                 URL: https://issues.apache.org/jira/browse/YARN-6305
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: yarn
            Reporter: Shane Kumpf


Currently it is possible for containers to leak and remain in an exited state if a docker container is not fully started before being killed. Depending on the selected Docker storage driver, the lower bound on starting a container can be as much as three seconds (using {{docker run}}). If an implicit image pull occurs, this could be much longer.

When a container is not fully started, the PID is not available yet. As a result, {{ContainerLaunch#cleanUpContainer}} will not signal the container as it relies on the PID. The PID is not required for docker client operations, so allowing the signaling to occur anyway appears to be appropriate.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org