[
https://issues.apache.org/jira/browse/HADOOP-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068691#comment-14068691
]
Steve Loughran commented on HADOOP-3619:
----------------------------------------
# tests must not hit remote addresses; it stops them working offline/on
isolated networks, and impacts determinism.
# as the logic is broken up into some static methods, the test cases could go
to each of them (e.g .create a private subclass of InetAddress; verify that
this is recognised, ...others)
# I don't like the exception text either. Something like "Unrecognised address
format", maybe with a matching wiki link.
Still: best effort on IPv6 in Hadoop so far...
> 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: 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.2#6252)