hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7314) Add support for throwing UnknownHostException when a host doesn't resolve
Date Fri, 03 Jun 2011 19:46:47 GMT

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

Robert Joseph Evans commented on HADOOP-7314:
---------------------------------------------

new UrlValidator(UrlValidator.ALLOW_ALL_SCHEMES); is called every time verifyHostnames is
called.  It would probably be better to have a private member for this, and if it is reentrant
have a static private instance.

> Add support for throwing UnknownHostException when a host doesn't resolve
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7314
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7314
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Jeffrey Naisbitt
>            Assignee: Jeffrey Naisbitt
>         Attachments: HADOOP-7314.patch
>
>
> As part of MAPREDUCE-2489, we need support for having the resolve methods (for DNS mapping)
throw UnknownHostExceptions.  (Currently, they hide the exception).  Since the existing 'resolve'
method is ultimately used by several other locations/components, I propose we add a new 'resolveValidHosts'
method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message