hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sam rash (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6679) add retry logic to NetUtils.createSocketAddr() when hostname resolution fails
Date Sun, 04 Apr 2010 06:46:27 GMT

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


Mime
View raw message