hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7749) Add NetUtils call which provides more help in exception messages
Date Mon, 17 Oct 2011 23:59:12 GMT

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

Aaron T. Myers commented on HADOOP-7749:
----------------------------------------

+1, the patch looks good to me, and will surely be very helpful for users.

One question - would it be at all reasonable to deprecate the version of {{createSocketAddr}}
which doesn't include the config name? My concern is how we encourage developers to use the
new one.
                
> Add NetUtils call which provides more help in exception messages
> ----------------------------------------------------------------
>
>                 Key: HADOOP-7749
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7749
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hadoop-7749.txt
>
>
> In setting up MR2, I accidentally had a bad configuration value specified for one of
the IP configs. I was getting a NumberFormatException parsing this config, but no indication
as to what config value was being fetched. This JIRA is to add an API to NetUtils.createSocketAddr
which takes the configuration name, so that any exceptions thrown will point back to where
the user needs to fix it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message