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 Tue, 06 Apr 2010 18:25:33 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-2.txt

this patch applies when i run

patch -p0 < HADOOP-6679-patch-2.txt

from the root of a hadoop checkout

please advise if I need to generate it in some other way


> 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, HADOOP-6679-patch-2.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