hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3239) Use new createSocketAddr API in MRv2 to give better error messages on misconfig
Date Fri, 21 Oct 2011 18:18:32 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132888#comment-13132888

Todd Lipcon commented on MAPREDUCE-3239:

The test failure is due to a test that sets the RM address to "local" and makes sure it throws
an exception. But this patch has a change that allows you to specify just a hostname without
a port, and it will use the default port, so "local" is interpreted as "local:8040". I think
the patch is correct here, and we should change the test to give an invalid address like "invalid:invalid"
which would fail parsing. Do you agree, Mahadev?
> Use new createSocketAddr API in MRv2 to give better error messages on misconfig
> -------------------------------------------------------------------------------
>                 Key: MAPREDUCE-3239
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3239
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: mr-3239.txt
> HADOOP-7749 added a NetUtils call which will include the configuration name as part of
the exception message. This is handy if you accidentally specify some invalid string, or forget
to specify a required parameter. This JIRA is to make MR2 use the new API.

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


View raw message