[
https://issues.apache.org/jira/browse/YARN-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16797675#comment-16797675
]
Chandni Singh commented on YARN-5670:
-------------------------------------
[~eyang] I have attached the doc from YARN-3854 here as well which talks about
the 2 options
1. NM maintains an LRU cache which holds meta-info of docker images and it
only deletes the images that it pulled/localized
2. Using docker image prune
IMO Option 1 is better because {{docker image prune}} will remove all the
images on the node, even the ones which the NM never localized.
Also [~ebadger] had a comment in favor of this option. The link to it is:
https://issues.apache.org/jira/browse/YARN-3854?focusedCommentId=16645496&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16645496
> 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
> Assignee: Eric Yang
> 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]