You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2015/05/09 06:03:00 UTC

[jira] [Commented] (HADOOP-3619) DNS.getHosts triggers an ArrayIndexOutOfBoundsException in reverseDNS if one of the interfaces is IPv6

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

Brahma Reddy Battula commented on HADOOP-3619:
----------------------------------------------

[~woopi] can you please address [~stevel@apache.org] comments and upload the patch..?

> DNS.getHosts triggers an ArrayIndexOutOfBoundsException in reverseDNS if one of the interfaces is IPv6
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3619
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3619
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: net
>            Reporter: Steve Loughran
>            Assignee: Dr. Martin Menzel
>              Labels: BB2015-05-TBR, ipv6, patch
>         Attachments: HADOOP-3619-v2.patch
>
>
> reverseDNS tries to split a host address string by ".", and so fails if ":" is the separator, as it is in IPv6. When it tries to access the parts of the address, a stack trace is seen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)