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

Eric Yang edited comment on YARN-8986 at 11/23/18 5:37 AM:
-----------------------------------------------------------

[~Charo Zhang] The test can be run locally using in 
hadoop-yarn-server-nodemanager:

{code}
mvn test -Dtest=cetest -Pnative
{code}

The result will be stored in target/surefire-reports/cetest.*.
Test results output link also show the reason of the 
[failures|https://builds.apache.org/job/PreCommit-YARN-Build/22680/testReport/].
  The test cases passed fine without this patch.  Net=bridge is specified, and 
causing docker network inspect to fail, and returned error result.


was (Author: eyang):
[~Charo Zhang] The test can be run locally using in 
hadoop-yarn-server-nodemanager:

{code}
mvn test -Dtest=cetest -Pnative
{code}

Test results output link also show the reason of the 
[failures|https://builds.apache.org/job/PreCommit-YARN-Build/22680/testReport/].
  The test cases passed fine without this patch.  Net=bridge is specified, and 
causing docker network inspect to fail, and returned error result.

> publish all exposed ports to random ports when using bridge network
> -------------------------------------------------------------------
>
>                 Key: YARN-8986
>                 URL: https://issues.apache.org/jira/browse/YARN-8986
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>    Affects Versions: 3.1.1
>            Reporter: Charo Zhang
>            Assignee: Charo Zhang
>            Priority: Minor
>              Labels: Docker
>         Attachments: YARN-8986.001.patch, YARN-8986.002.patch, 
> YARN-8986.003.patch, YARN-8986.004.patch, YARN-8986.005.patch, 
> YARN-8986.006.patch, YARN-8986.007.patch, YARN-8986.008.patch
>
>
> it's better to publish all exposed ports to random ports(-P) or support port 
> mapping(-p) for bridge network when using bridge network for docker container.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to