hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sidharta Seethana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3712) ContainersLauncher: handle event CLEANUP_CONTAINER asynchronously
Date Tue, 26 May 2015 16:47:18 GMT

    [ https://issues.apache.org/jira/browse/YARN-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559362#comment-14559362
] 

Sidharta Seethana commented on YARN-3712:
-----------------------------------------

[~hex108]

Are you referring to cleaning the docker image or the container instance itself ? Which of
these takes 1 second? If I remember correctly, the docker container executor uses a docker
run option that automatically cleans up the container once it exits and it becomes a part
of the container lifetime as far as the node manager is concerned. 

thanks,
-Sidharta

> ContainersLauncher: handle event CLEANUP_CONTAINER asynchronously
> -----------------------------------------------------------------
>
>                 Key: YARN-3712
>                 URL: https://issues.apache.org/jira/browse/YARN-3712
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>            Reporter: Jun Gong
>            Assignee: Jun Gong
>         Attachments: YARN-3712.01.patch, YARN-3712.02.patch
>
>
> It will save some time by handling event CLEANUP_CONTAINER asynchronously. 
> This improvement will be useful for cases that cleaning up container cost a little long
time(e.g. for our case: we are running Docker container on NM, it will take above 1 seconds
to clean up one docker container.  ) and many containers to clean up(e.g. NM need clean up
all running containers when NM shutdown). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message