You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "sam rash (JIRA)" <ji...@apache.org> on 2010/04/04 08:46:27 UTC

[jira] Updated: (HADOOP-6679) add retry logic to NetUtils.createSocketAddr() when hostname resolution fails

     [ https://issues.apache.org/jira/browse/HADOOP-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam rash updated HADOOP-6679:
-----------------------------

    Attachment: HADOOP-6679-patch-1.txt

patch includes factory to create a resolved InetSocketAddress and updates NetUtil.createSocketAddr() to use it

includes basic unit test

> add retry logic to NetUtils.createSocketAddr() when hostname resolution fails
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-6679
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6679
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.20.0
>            Reporter: sam rash
>            Priority: Minor
>         Attachments: HADOOP-6679-patch-1.txt
>
>
> transient DNS errors can cause the InetSocketAddress created in NetUtils.createSocketAddr() to be unresolved when the hostname is resolvable.  Add a single retry after a short sleep using a simple InetSocketAddressFactory class

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.