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

Eric Badger commented on YARN-5670:
-----------------------------------

I think that we need to be able to remove the things that we have pulled. So if 
we pull an image, we have the right to delete it. In environments where the 
images are pulled outside of YARN, this deletion feature can be disabled and 
the admin will have control over how they want to delete the images from each 
node. Then in environments where docker is just running side by side with YARN, 
image deletion will mean at worst that the node has to redownload the image. If 
the image is in use, the deletion will fail. So it should be safe in this 
regard. 

> Add support for Docker image clean up
> -------------------------------------
>
>                 Key: YARN-5670
>                 URL: https://issues.apache.org/jira/browse/YARN-5670
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Zhankun Tang
>            Priority: Major
>              Labels: Docker
>         Attachments: Localization Support For Docker Images_002.pdf
>
>
> Regarding to Docker image localization, we also need a way to clean up the 
> old/stale Docker image to save storage space. We may extend deletion service 
> to utilize "docker rm" to do this.
> This is related to YARN-3854 and may depend on its implementation. Please 
> refer to YARN-3854 for Docker image localization details.



--
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