[ 
https://issues.apache.org/jira/browse/YARN-8333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Yang updated YARN-8333:
----------------------------
    Description: 
For scaling stateless containers, it would be great to support DNS round robin 
for fault tolerance and load balancing.  The current DNS record format for 
RegistryDNS is [container-instance].[application-name].[username].[domain].  
For example:

{code}
appcatalog-0.appname.hbase.ycluster. IN A 123.123.123.120
appcatalog-1.appname.hbase.ycluster. IN A 123.123.123.121
appcatalog-2.appname.hbase.ycluster. IN A 123.123.123.122
appcatalog-3.appname.hbase.ycluster. IN A 123.123.123.123
{code}

It would be nice to add multi-A record that contains all IP addresses of the 
same component in addition to the instance based records.  For example:

{code}
appcatalog.appname.hbase.ycluster. IN A 123.123.123.120
appcatalog.appname.hbase.ycluster. IN A 123.123.123.121
appcatalog.appname.hbase.ycluster. IN A 123.123.123.122
appcatalog.appname.hbase.ycluster. IN A 123.123.123.123
{code}


> Load balance YARN services using RegistryDNS multiple A records
> ---------------------------------------------------------------
>
>                 Key: YARN-8333
>                 URL: https://issues.apache.org/jira/browse/YARN-8333
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn-native-services
>    Affects Versions: 3.1.0
>            Reporter: Eric Yang
>            Priority: Major
>
> For scaling stateless containers, it would be great to support DNS round 
> robin for fault tolerance and load balancing.  The current DNS record format 
> for RegistryDNS is 
> [container-instance].[application-name].[username].[domain].  For example:
> {code}
> appcatalog-0.appname.hbase.ycluster. IN A 123.123.123.120
> appcatalog-1.appname.hbase.ycluster. IN A 123.123.123.121
> appcatalog-2.appname.hbase.ycluster. IN A 123.123.123.122
> appcatalog-3.appname.hbase.ycluster. IN A 123.123.123.123
> {code}
> It would be nice to add multi-A record that contains all IP addresses of the 
> same component in addition to the instance based records.  For example:
> {code}
> appcatalog.appname.hbase.ycluster. IN A 123.123.123.120
> appcatalog.appname.hbase.ycluster. IN A 123.123.123.121
> appcatalog.appname.hbase.ycluster. IN A 123.123.123.122
> appcatalog.appname.hbase.ycluster. IN A 123.123.123.123
> {code}



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