[ https://issues.apache.org/jira/browse/YARN-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559345#comment-14559345 ]
Vinod Kumar Vavilapalli commented on YARN-3712: ----------------------------------------------- What is the effect of today's way of doing it synchronously? Interesting you mention time taking for cleaning docker containers. /cc [~ashahab], [~sidharta-s] who are looking into that area. > 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)