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

Sidharta Seethana commented on YARN-4255:
-----------------------------------------

[~vvasudev] , I am assuming you mean DockerLinuxContainerRuntime ? The reason 
for doing this in the container-executor is that the filename has a randomly 
generated component. We would have to save the filename in the NM state store 
(to persist across restarts) in order to clean this up effectively in java 
code. A similar pattern of cleaning up command files is already in place in 
container-executor (traffic shaping/tc command files are cleaned up in 
container-executor as well).  


> container-executor does not clean up docker operation command files. 
> ---------------------------------------------------------------------
>
>                 Key: YARN-4255
>                 URL: https://issues.apache.org/jira/browse/YARN-4255
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Sidharta Seethana
>            Assignee: Sidharta Seethana
>            Priority: Minor
>         Attachments: YARN-4255.001.patch
>
>
> container-executor leaves behind docker command files that are used to run 
> docker commands. These need to be cleaned up.



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

Reply via email to