Chen He commented on YARN-3324:

{quote}1. There will be overhead of downloading the image every time the test 
is run if we delete the image after running tests.{quote}
The overhead of downloading the image every time can be neglected if we have 
private docker registry in LAN. It could be a problem if thousands of machine 
pull image from a single registry at the same time. 

{quote}so there will be no issue of accumulation of multiple test images.{quote}
If we do not delete downloaded images after test, to avoid images accumulation, 
we should guarantee docker image related tests only use limited types of images.

> TestDockerContainerExecutor should clean test docker image from local 
> repository after test is done
> ---------------------------------------------------------------------------------------------------
>                 Key: YARN-3324
>                 URL: https://issues.apache.org/jira/browse/YARN-3324
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.6.0
>            Reporter: Chen He
>         Attachments: YARN-3324-branch-, 
> YARN-3324-trunk.002.patch
> Current TestDockerContainerExecutor only cleans the temp directory in local 
> file system but leaves the test docker image in local docker repository. It 
> should be cleaned.

This message was sent by Atlassian JIRA

Reply via email to