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

Eric Badger commented on YARN-7848:
-----------------------------------

Looked at the code with [~Jim_Brennan] and he's right. {{DockerRmCommand}} 
calls the container-executor with {{--remove-docker-container}}. That codepath 
goes through {{remove_docker_container}} in container-executor.c. To be 
consistent with the use of {{-f}} for docker rm, I believe we should change it 
in both places in the C code (i.e. in {{remove_docker_container}} and 
{{get_docker_rm_command}}).

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to