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

Charo Zhang edited comment on YARN-8986 at 11/18/18 2:56 PM:
-------------------------------------------------------------

[~eyang] According to you suggestions, i verify the network_name against the 
allowed list, and update a validation of ports-mapping format in 
container-executor.
Please review again, I'm sorry to bother you so much.:D
I thought there is a verification network_name in "set_network" and Validation 
of ports-mapping in java code, there's no need to check again.



was (Author: charo zhang):
[~eyang]According to you suggestions, i verify the network_name against the 
allowed list, and update a validation of ports-mapping format in 
container-executor.
Please review again, I'm sorry to bother you so much.:D
I thought there is a verification network_name in "set_network" and Validation 
of ports-mapping in java code, there's no need to check again.


> 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.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: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to