[jira] [Updated] (YARN-7731) RegistryDNS should handle upstream DNS returning CNAME

2018-01-11 Thread Eric Yang (JIRA)

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

Eric Yang updated YARN-7731:

Attachment: YARN-7731.003.patch

- Added detection to prevent infinite recursive lookup for cname records.

> RegistryDNS should handle upstream DNS returning CNAME
> --
>
> Key: YARN-7731
> URL: https://issues.apache.org/jira/browse/YARN-7731
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Billie Rinaldi
>Assignee: Eric Yang
> Attachments: YARN-7731.001.patch, YARN-7731.002.patch, 
> YARN-7731.003.patch
>
>
> When RegistryDNS performs a lookup in an upstream DNS server and a CNAME 
> record is retrieved, it returns a response with only the CNAME record (there 
> is no A record, meaning no IP address is resolved). RegistryDNS should 
> perform a lookup on the new name from the CNAME record in an attempt to find 
> an A record, which would provide an IP address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7731) RegistryDNS should handle upstream DNS returning CNAME

2018-01-11 Thread Eric Yang (JIRA)

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

Eric Yang updated YARN-7731:

Attachment: YARN-7731.002.patch

- Fixed test case accuracy to verify existence of A record instead of depending 
on reply length.

> RegistryDNS should handle upstream DNS returning CNAME
> --
>
> Key: YARN-7731
> URL: https://issues.apache.org/jira/browse/YARN-7731
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Billie Rinaldi
>Assignee: Eric Yang
> Attachments: YARN-7731.001.patch, YARN-7731.002.patch
>
>
> When RegistryDNS performs a lookup in an upstream DNS server and a CNAME 
> record is retrieved, it returns a response with only the CNAME record (there 
> is no A record, meaning no IP address is resolved). RegistryDNS should 
> perform a lookup on the new name from the CNAME record in an attempt to find 
> an A record, which would provide an IP address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7731) RegistryDNS should handle upstream DNS returning CNAME

2018-01-10 Thread Eric Yang (JIRA)

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

Eric Yang updated YARN-7731:

Attachment: YARN-7731.001.patch

Add recursive lookup for cname record.

> RegistryDNS should handle upstream DNS returning CNAME
> --
>
> Key: YARN-7731
> URL: https://issues.apache.org/jira/browse/YARN-7731
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Billie Rinaldi
>Assignee: Eric Yang
> Attachments: YARN-7731.001.patch
>
>
> When RegistryDNS performs a lookup in an upstream DNS server and a CNAME 
> record is retrieved, it returns a response with only the CNAME record (there 
> is no A record, meaning no IP address is resolved). RegistryDNS should 
> perform a lookup on the new name from the CNAME record in an attempt to find 
> an A record, which would provide an IP address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7731) RegistryDNS should handle upstream DNS returning CNAME

2018-01-10 Thread Billie Rinaldi (JIRA)

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

Billie Rinaldi updated YARN-7731:
-
Target Version/s: 3.1.0

> RegistryDNS should handle upstream DNS returning CNAME
> --
>
> Key: YARN-7731
> URL: https://issues.apache.org/jira/browse/YARN-7731
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Billie Rinaldi
>Assignee: Eric Yang
>
> When RegistryDNS performs a lookup in an upstream DNS server and a CNAME 
> record is retrieved, it returns a response with only the CNAME record (there 
> is no A record, meaning no IP address is resolved). RegistryDNS should 
> perform a lookup on the new name from the CNAME record in an attempt to find 
> an A record, which would provide an IP address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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