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

Shane Kumpf commented on YARN-8600:
-----------------------------------

Thanks for the patch, [~eyang]. I had some trouble finding an example lookup to 
test, but I was able to find a repro. I can confirm this resolves the issue.

Two minor nits:
* The timeout on the test should be increased as the thread may not have timed 
out by the timeout trigger, causing the test to fail.
* When the timeout exception occurs, I would like to see the query type in the 
exception message to help aid in figuring out the exact query that hung.

I'm +1 on this patch with those changes. I can make these minor changes at 
commit time if you'd like [~eyang]. I'll commit this with those changes later 
today unless there are other concerns.

> RegistryDNS hang when remote lookup does not reply
> --------------------------------------------------
>
>                 Key: YARN-8600
>                 URL: https://issues.apache.org/jira/browse/YARN-8600
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 3.1.0
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Critical
>         Attachments: YARN-8600.001.patch, YARN-8600.002.patch
>
>
> If lookup type mismatch with the record to query, remote DNS server might not 
> reply.  For example looking up a CNAME record with a PTR address: 
> 1.76.27.172.in-addr.arpa.  This can hang registryDNS.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to