[ 
https://issues.apache.org/jira/browse/HADOOP-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dr. Martin Menzel updated HADOOP-3619:
--------------------------------------

            Tags: IPv6 RDNS
          Labels: patch  (was: )
    Release Note: IPv6 patch for rDNS problem in hadoop common project
          Status: Patch Available  (was: Open)

reverse DNS resolution is split in a method for IPv4 and another for IPv6.

The IPv6 method uses a method which generates the IPv6 nibble format as an 
intermediate step so that the reverse DNS request (PTR) could be sent to the 
nameserver.

Actually just "normal" IPv6 addresses are tested. Tests with IPv6 addresses of 
the form 

fe80::2025:1cf9:a124:348f%13

are not tested yet.

> 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
>            Reporter: Steve Loughran
>              Labels: 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)

Reply via email to