hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3324) TestDockerContainerExecutor should clean test docker image from local repository after test is done
Date Tue, 28 Jul 2015 17:26:05 GMT

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

Mime
View raw message