hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3853) Add docker container runtime support to LinuxContainterExecutor
Date Mon, 20 Jul 2015 22:29:06 GMT

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

Hadoop QA commented on YARN-3853:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  17m 37s | Pre-patch trunk compilation is healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any @author tags.
|
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to include 3 new
or modified test files. |
| {color:green}+1{color} | javac |   8m 30s | There were no new javac warning messages. |
| {color:green}+1{color} | javadoc |  10m 21s | There were no new javadoc warning messages.
|
| {color:green}+1{color} | release audit |   0m 21s | The applied patch does not increase
the total number of release audit warnings. |
| {color:red}-1{color} | checkstyle |   0m 44s | The applied patch generated  35 new checkstyle
issues (total was 270, now 293). |
| {color:green}+1{color} | whitespace |   0m 35s | The patch has no lines that end in whitespace.
|
| {color:green}+1{color} | install |   1m 29s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 34s | The patch built with eclipse:eclipse.
|
| {color:green}+1{color} | findbugs |   1m 20s | The patch does not introduce any new Findbugs
(version 3.0.0) warnings. |
| {color:green}+1{color} | yarn tests |   6m 14s | Tests passed in hadoop-yarn-server-nodemanager.
|
| | |  47m 50s | |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12746188/YARN-3853.002.patch
|
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / e4f7562 |
| checkstyle |  https://builds.apache.org/job/PreCommit-YARN-Build/8589/artifact/patchprocess/diffcheckstylehadoop-yarn-server-nodemanager.txt
|
| hadoop-yarn-server-nodemanager test log | https://builds.apache.org/job/PreCommit-YARN-Build/8589/artifact/patchprocess/testrun_hadoop-yarn-server-nodemanager.txt
|
| Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/8589/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf907.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep
3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | https://builds.apache.org/job/PreCommit-YARN-Build/8589/console |


This message was automatically generated.

> Add docker container runtime support to LinuxContainterExecutor
> ---------------------------------------------------------------
>
>                 Key: YARN-3853
>                 URL: https://issues.apache.org/jira/browse/YARN-3853
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Sidharta Seethana
>            Assignee: Sidharta Seethana
>         Attachments: YARN-3853.001.patch, YARN-3853.002.patch
>
>
> Create a new DockerContainerRuntime that implements support for docker containers via
container-executor. LinuxContainerExecutor should default to current behavior when launching
containers but switch to docker when requested. 
> Overview
> ===
> The current mechanism of launching/signaling containers is moved to its own (default)
container runtime. In order to use docker container runtime a couple of environment variables
have to be set. This will have to be revisited when we have a first class client side API
to specify different container types and associated parameters. Using ‘pi’ as an example
and using a custom docker image, this is how you could use the docker container runtime (LinuxContainerExecutor
must be in use and the docker daemon needs to be running) :
> {code}
> export YARN_EXAMPLES_JAR=./share/hadoop/mapreduce/hadoop-mapreduce-examples-*.jar
> bin/yarn jar $YARN_EXAMPLES_JAR pi -Dmapreduce.map.env="YARN_CONTAINER_RUNTIME_TYPE=docker,YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=ashahab/hadoop-trunk"
-Dyarn.app.mapreduce.am.env="YARN_CONTAINER_RUNTIME_TYPE=docker,YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=ashahab/hadoop-trunk"
 -Dmapreduce.reduce.env="YARN_CONTAINER_RUNTIME_TYPE=docker,YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=ashahab/hadoop-trunk"
4 1000
> {code}
>  
> LinuxContainerExecutor can delegate to either runtime on a per container basis. If the
docker container type is selected, LinuxContainerExecutor delegates to the DockerContainerRuntime
which in turn uses docker support in the container-executor binary to launch/manage docker
containers ( see YARN-3852 ) . 



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

Mime
View raw message