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-8238) NetUtils#getHostNameOfIP blows up if given ip:port string w/o port
Date Sun, 01 Apr 2012 19:54:27 GMT

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

Aaron T. Myers commented on HADOOP-8238:

+1, the patch looks good to me.
> NetUtils#getHostNameOfIP blows up if given ip:port string w/o port
> ------------------------------------------------------------------
>                 Key: HADOOP-8238
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8238
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>         Attachments: hadoop-8238.txt
> NetUtils#getHostNameOfIP blows up if not given a string of form ip:port, because the
regex matches the port optionally but the code requires a semicolon. It also doesn't check
the given string for null.

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