hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3619) DNS.getHosts triggers an ArrayIndexOutOfBoundsException in reverseDNS if one of the interfaces is IPv6
Date Mon, 23 Jun 2008 16:14:45 GMT

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

Steve Loughran commented on HADOOP-3619:
----------------------------------------

It would be relatively simple to fix this and add rDNS support for ipv6 addresses. Question
is: what else would break? 

1. Should the rDNS logic just pretend that IPv6 doesnt exist?
2. Should the code that enumerates interfaces skip IPv6 addresses?

> 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 Core
>          Issue Type: Bug
>            Reporter: Steve Loughran
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message