[
https://issues.apache.org/jira/browse/HADOOP-16044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741983#comment-16741983
]
Steve Loughran commented on HADOOP-16044:
-----------------------------------------
This is a silly question, but why is UnknownHostException being retried?
Because JVMs do have a history of caching negative DNS lookup results. Looking
at the latest javadocs, {{networkaddress.cache.negative.ttl}} is set to 10s, so
it will eventually come up, but you do have to trust DNS to be updating its
records
Elsewhere i the code we're just treating this as unrecoverable. Which may not
be correct action in a world of dynamicness...but if we do start changing this
policy, we should think about doing it consistently everywhere (including HA
failover events)
> ABFS: Better exception handling of DNS errors followup
> ------------------------------------------------------
>
> Key: HADOOP-16044
> URL: https://issues.apache.org/jira/browse/HADOOP-16044
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Da Zhou
> Assignee: Da Zhou
> Priority: Major
> Attachments: HADOOP-16044-001.patch, HADOOP-16044-002.patch
>
>
> This is a follow up for HADOOP-15662 as the 001 patch of HADOOP-15662 is
> already committed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]