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

Jim Brennan commented on YARN-7848:
-----------------------------------

[~eyang], [~ebadger], it looks to me like the code in patch 002 will not do 
what we want.  We are adding the "force", "true" arguments to the 
DockerRmCommand() and handling them in the --run-docker c-code.   But 
DockerRmCommand() is actually passing the --remove_docker_container command, 
which is not modified.  "force", "true" will be passed in to the docker rm 
command, and it won't know what to do with them.

 

> Force removal of docker containers that do not get removed on first try
> -----------------------------------------------------------------------
>
>                 Key: YARN-7848
>                 URL: https://issues.apache.org/jira/browse/YARN-7848
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Eric Badger
>            Assignee: Eric Yang
>            Priority: Major
>              Labels: Docker
>         Attachments: YARN-7848.001.patch, YARN-7848.002.patch
>
>
> After the addition of YARN-5366, containers will get removed after a certain 
> debug delay. However, this is a one-time effort. If the removal fails for 
> whatever reason, the container will persist. We need to add a mechanism for a 
> forced removal of those containers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to