Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 897C317EF5 for ; Thu, 15 Oct 2015 14:12:05 +0000 (UTC) Received: (qmail 11265 invoked by uid 500); 15 Oct 2015 14:12:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 11213 invoked by uid 500); 15 Oct 2015 14:12:05 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 11199 invoked by uid 99); 15 Oct 2015 14:12:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2015 14:12:05 +0000 Date: Thu, 15 Oct 2015 14:12:05 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-14594) Use new DNS API introduced in HADOOP-12437 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-14594: --------------------------- Resolution: Fixed Fix Version/s: 1.0.3 Status: Resolved (was: Patch Available) Thanks for the patch, Josh. > 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 > Fix For: 2.0.0, 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.16 > > Attachments: HBASE-14594-0.98.patch, HBASE-14594-branch-1.0.patch, HBASE-14594.001.patch, HBASE-14594.002.patch > > > 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 enabled. > 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 (v6.3.4#6332)