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

Jason Lowe commented on HDFS-8068:
----------------------------------

Recently I ran across a similar situation except it involved YarnClient trying 
to setup the RM proxy rather than DFSClient trying to setup the NN proxy.  If 
possible, I'd much rather try to fix this in the RPC layer so we don't require 
every subsystem that wants to setup proxies to handle this separately.  Filed 
HADOOP-12125 to track that effort.

> Do not retry rpc calls If the proxy contains unresolved address
> ---------------------------------------------------------------
>
>                 Key: HDFS-8068
>                 URL: https://issues.apache.org/jira/browse/HDFS-8068
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>              Labels: BB2015-05-TBR
>         Attachments: HDFS-8068.v1.patch, HDFS-8068.v2.patch
>
>
> When the InetSocketAddress object happens to be unresolvable (e.g. due to 
> transient DNS issue), the rpc proxy object will not be usable since the 
> client will throw UnknownHostException when a Connection object is created. 
> If FailoverOnNetworkExceptionRetry is used as in the standard HA failover 
> proxy, the call will be retried, but this will never recover.  Instead, the 
> validity of address must be checked on pxoy creation and throw if it is 
> invalid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to