You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2018/11/09 23:48:00 UTC

[jira] [Commented] (YARN-5168) Add port mapping handling when docker container use bridge network

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

Eric Yang commented on YARN-5168:
---------------------------------

YARN-9003 can improve usability of bridge network and overlay network connections.  When multi-homed network is done, it make sense to add -P support to publish docker ports via bridge network, and node manger aggregates published ports and display in YARN UI to provide quick links to enable access to application.

> Add port mapping handling when docker container use bridge network
> ------------------------------------------------------------------
>
>                 Key: YARN-5168
>                 URL: https://issues.apache.org/jira/browse/YARN-5168
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jun Gong
>            Priority: Major
>              Labels: Docker
>
> YARN-4007 addresses different network setups when launching the docker container. We need support port mapping when docker container uses bridge network.
> The following problems are what we faced:
> 1. Add "-P" to map docker container's exposed ports to automatically.
> 2. Add "-p" to let user specify specific ports to map.
> 3. Add service registry support for bridge network case, then app could find each other. It could be done out of YARN, however it might be more convenient to support it natively in YARN.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org