hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8068) Do not retry rpc calls If the proxy contains unresolved address
Date Tue, 07 Apr 2015 18:12:13 GMT

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

Steve Loughran commented on HDFS-8068:

getting better
# could you include the entire error text in the exception that is thrown, as well as the
logs. It's most likely to get seen then.
# the test can be changed to catch a {{UnknownHostException}}, removing the need to look inside
its string value. this makes for a more robust test

> 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
>         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

View raw message