hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7731) RegistryDNS should handle upstream DNS returning CNAME
Date Thu, 11 Jan 2018 20:34:02 GMT

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

Billie Rinaldi commented on YARN-7731:
--------------------------------------

Thanks for the patch, [~eyang]! I tried patch 002 and this fixes the issue I was seeing with
CNAME records. One question, do we need to guard against an infinite loop in the case where
a lookup for the CNAME alias returns another CNAME record, and the aliases form a loop?

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


Mime
View raw message