You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Chen He (JIRA)" <ji...@apache.org> on 2015/07/28 19:26:05 UTC

[jira] [Commented] (YARN-3324) TestDockerContainerExecutor should clean test docker image from local repository after test is done

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

Chen He commented on YARN-3324:
-------------------------------

IMHO, we can test whether the docker image is used (by any running container) or not before we delete from local repository. Each unit test should test before delete then, the last one should able to delete this image. If the deletion happens before a unit test starts, the new unit test should pull it from docker.io before starts the unit test.

> 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
>              Labels: BB2015-05-TBR
>         Attachments: YARN-3324-branch-2.6.0.002.patch, 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
(v6.3.4#6332)