FAQ
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


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

Search Discussions

  • Jeffrey Naisbitt (JIRA) at Jul 18, 2011 at 1:30 pm
    [ https://issues.apache.org/jira/browse/HADOOP-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Jeffrey Naisbitt reopened HADOOP-7314:
    --------------------------------------


    Reopening since this still needs to be committed to the 0.20.205 release.
    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
    Affects Versions: 0.20.205.0, 0.23.0
    Reporter: Jeffrey Naisbitt
    Assignee: Jeffrey Naisbitt
    Fix For: 0.23.0

    Attachments: HADOOP-7314-0.20s.patch, HADOOP-7314-v2.patch, HADOOP-7314-v3.patch, 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
  • Matt Foley (JIRA) at Jul 19, 2011 at 11:20 pm
    [ https://issues.apache.org/jira/browse/HADOOP-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Matt Foley resolved HADOOP-7314.
    --------------------------------

    Resolution: Fixed

    Committed to branch-0.20-security. Thanks, Jeff! And thanks Jitendra for the code review.
    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
    Affects Versions: 0.20.205.0, 0.23.0
    Reporter: Jeffrey Naisbitt
    Assignee: Jeffrey Naisbitt
    Fix For: 0.20.205.0, 0.23.0

    Attachments: HADOOP-7314-0.20s.patch, HADOOP-7314-v2.patch, HADOOP-7314-v3.patch, 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMay 20, '11 at 2:23p
activeJul 19, '11 at 11:20p
posts3
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Matt Foley (JIRA): 3 posts

People

Translate

site design / logo © 2022 Grokbase