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 2019/01/04 23:59:00 UTC

[jira] [Commented] (YARN-8619) Automate docker network configuration through YARN API

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

Eric Yang commented on YARN-8619:
---------------------------------

[~oliverhuhuhu@gmail.com] {quote}
Is our plan to integrate Consul into YARN for this automation?
{quote}

This is one time setup, and very few lines of setup on docker side.  It doesn't seem like YARN needs to be involved in Docker network setup from my point of view.  I am inclined to close this as no plan to fix.

> Automate docker network configuration through YARN API
> ------------------------------------------------------
>
>                 Key: YARN-8619
>                 URL: https://issues.apache.org/jira/browse/YARN-8619
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn-native-services
>            Reporter: Eric Yang
>            Priority: Major
>              Labels: Docker
>
> Docker supports bridge, host, overlay, macvlan networking.  It might be useful to automate docker network setup through a set of YARN API to improve management of docker networks.  Each type of network driver requires different type of parameters.  For Hadoop use case, it seems more useful to focus on macvlan networking for ease of use and configuration.  It would be great addition to support commands like:
> {code}
> yarn network create -d macvlan \
>   --subnet=172.16.86.0/24 \
>   --gateway=172.16.86.1 \
>   -o parent=eth0 \
>   my-macvlan-net
> {code}
> This changes docker configuration to hosts managed by 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