hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14594) Use new DNS API introduced in HADOOP-12437
Date Tue, 13 Oct 2015 03:50:05 GMT
Josh Elser created HBASE-14594:

             Summary: Use new DNS API introduced in HADOOP-12437
                 Key: HBASE-14594
                 URL: https://issues.apache.org/jira/browse/HBASE-14594
             Project: HBase
          Issue Type: Bug
            Reporter: Josh Elser
            Assignee: Josh Elser

HADOOP-12437 introduced a new API to {{org.apache.hadoop.net.DNS}}: {{getDefaultHost(String,
String, boolean)}}.

The purpose of this method (the boolean argument really) is to change the functionality so
that when rDNS fails, {{InetAddress#getCanonicalHostName()}} is consulted which includes resolution
via the hosts file.

The direct application of this new method is relevant on hosts with multiples NICs and Kerberos

Sadly, this method only exists in 2.8.0-SNAPSHOT, so to benefit from the fix without great
pain, some reflection is required.

This message was sent by Atlassian JIRA

View raw message