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

Eric Yang commented on YARN-8986:
---------------------------------

[~Charo Zhang] yarn.nodemanager.runtime.linux.docker.default-container-network 
will result in --net parameter being passed.  My suggestion is specific for 
unit test to pass, and also allow undefined net parameter to fall back to 
bridge network behavior as default.  Jenkins environment docker network ls will 
fail, hence it would be easier to solve unit test problem and default behavior 
at the same time by gracefully handle the logic where net parameter is not 
passed, and allow -p and -P to work.

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