[jira] [Updated] (YARN-3339) TestDockerContainerExecutor should pull a single image and not the entire centos repository

2015-03-12 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3339:

Attachment: YARN-3339-branch-2.6.0.001.patch

> TestDockerContainerExecutor should pull a single image and not the entire 
> centos repository
> ---
>
> Key: YARN-3339
> URL: https://issues.apache.org/jira/browse/YARN-3339
> Project: Hadoop YARN
>  Issue Type: Test
>  Components: test
>Affects Versions: 2.6.0
> Environment: Linux
>Reporter: Ravindra Naik
>Priority: Minor
> Attachments: YARN-3339-branch-2.6.0.001.patch, 
> YARN-3339-trunk.001.patch
>
>
> TestDockerContainerExecutor test pulls the entire centos repository which is 
> time consuming.
> Pulling a specific image (e.g. centos7) will be sufficient to run the test 
> successfully and will save time



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3339) TestDockerContainerExecutor should pull a single image and not the entire centos repository

2015-03-12 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3339:

Attachment: YARN-3339-trunk.001.patch

pull the latest centos image for testing (not all the centos images)

> TestDockerContainerExecutor should pull a single image and not the entire 
> centos repository
> ---
>
> Key: YARN-3339
> URL: https://issues.apache.org/jira/browse/YARN-3339
> Project: Hadoop YARN
>  Issue Type: Test
>  Components: test
>Affects Versions: 2.6.0
> Environment: Linux
>Reporter: Ravindra Naik
>Priority: Minor
> Attachments: YARN-3339-trunk.001.patch
>
>
> TestDockerContainerExecutor test pulls the entire centos repository which is 
> time consuming.
> Pulling a specific image (e.g. centos7) will be sufficient to run the test 
> successfully and will save time



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3339) TestDockerContainerExecutor should pull a single image and not the entire centos repository

2015-03-12 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3339:

Priority: Minor  (was: Critical)

> TestDockerContainerExecutor should pull a single image and not the entire 
> centos repository
> ---
>
> Key: YARN-3339
> URL: https://issues.apache.org/jira/browse/YARN-3339
> Project: Hadoop YARN
>  Issue Type: Test
>  Components: test
>Affects Versions: 2.6.0
> Environment: Linux
>Reporter: Ravindra Naik
>Priority: Minor
>
> TestDockerContainerExecutor test pulls the entire centos repository which is 
> time consuming.
> Pulling a specific image (e.g. centos7) will be sufficient to run the test 
> successfully and will save time



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3339) TestDockerContainerExecutor should pull a single image and not the entire centos repository

2015-03-12 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3339:

Description: 
TestDockerContainerExecutor test pulls the entire centos repository which is 
time consuming.
Pulling a specific image (e.g. centos7) will be sufficient to run the test 
successfully and will save time

  was:
TestDockerContainerExecutor test pulls the entire centos repository which is 
time consuming.
Pulling a specific image (e.g. centos7) will be sufficient to run the test 
successfully.


> TestDockerContainerExecutor should pull a single image and not the entire 
> centos repository
> ---
>
> Key: YARN-3339
> URL: https://issues.apache.org/jira/browse/YARN-3339
> Project: Hadoop YARN
>  Issue Type: Test
>  Components: test
>Affects Versions: 2.6.0
> Environment: Linux
>Reporter: Ravindra Naik
>Priority: Critical
>
> TestDockerContainerExecutor test pulls the entire centos repository which is 
> time consuming.
> Pulling a specific image (e.g. centos7) will be sufficient to run the test 
> successfully and will save time



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (YARN-3339) TestDockerContainerExecutor should pull a single image and not the entire centos repository

2015-03-12 Thread Ravindra Naik (JIRA)
Ravindra Naik created YARN-3339:
---

 Summary: TestDockerContainerExecutor should pull a single image 
and not the entire centos repository
 Key: YARN-3339
 URL: https://issues.apache.org/jira/browse/YARN-3339
 Project: Hadoop YARN
  Issue Type: Test
  Components: test
Affects Versions: 2.6.0
 Environment: Linux
Reporter: Ravindra Naik
Priority: Critical


TestDockerContainerExecutor test pulls the entire centos repository which is 
time consuming.
Pulling a specific image (e.g. centos7) will be sufficient to run the test 
successfully.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3302) TestDockerContainerExecutor should run automatically if it can detect docker in the usual place

2015-03-12 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3302:

Attachment: YARN-3302-trunk.001.patch

if docker-service-url is not defined then check if the docker daemon is running 
locally and proceed if its running

> TestDockerContainerExecutor should run automatically if it can detect docker 
> in the usual place
> ---
>
> Key: YARN-3302
> URL: https://issues.apache.org/jira/browse/YARN-3302
> Project: Hadoop YARN
>  Issue Type: Sub-task
>Reporter: Ravi Prakash
> Attachments: YARN-3302-trunk.001.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


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

2015-03-11 Thread Ravindra Naik (JIRA)

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

Ravindra Naik commented on YARN-3324:
-

Do you think that these steps will be sufficient ?
1. Stop any container that is using that docker image. 
2. Delete any container that is using that docker image. 
3. Delete the docker image.


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


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

2015-03-11 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3324:

Attachment: (was: YARN-3324-branch-2.6.0.patch)

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


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

2015-03-11 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3324:

Attachment: (was: YARN-3324-trunk.patch)

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


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

2015-03-11 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3324:

Attachment: YARN-3324-branch-2.6.0.002.patch
YARN-3324-trunk.002.patch

updated patches to consider the case when docker is not installed.

> 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-2.6.0.002.patch, 
> YARN-3324-branch-2.6.0.patch, YARN-3324-trunk.002.patch, YARN-3324-trunk.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)


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

2015-03-11 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3324:

 Target Version/s: 2.6.0  (was: trunk-win, 2.6.0)
Affects Version/s: (was: trunk-win)

> 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-2.6.0.patch, YARN-3324-trunk.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)


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

2015-03-11 Thread Ravindra Naik (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Naik updated YARN-3324:

Attachment: YARN-3324-trunk.patch
YARN-3324-branch-2.6.0.patch

> 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: trunk-win, 2.6.0
>Reporter: Chen He
> Attachments: YARN-3324-branch-2.6.0.patch, YARN-3324-trunk.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)