[
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