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 0E2AD11157 for ; Sun, 8 Jun 2014 21:29:03 +0000 (UTC) Received: (qmail 15357 invoked by uid 500); 8 Jun 2014 21:29:02 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 15311 invoked by uid 500); 8 Jun 2014 21:29:02 -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 15300 invoked by uid 99); 8 Jun 2014 21:29:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jun 2014 21:29:02 +0000 Date: Sun, 8 Jun 2014 21:29:02 +0000 (UTC) From: "Devaraj Das (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11293) Master and Region servers fail to start when hbase.master.ipc.address=0.0.0.0, hbase.regionserver.ipc.address=0.0.0.0 and Kerberos is enabled 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-11293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021361#comment-14021361 ] Devaraj Das commented on HBASE-11293: ------------------------------------- The problem is that the hostname passed to the login call ends up being 0.0.0.0 instead of the actual hostname (the substitution of _HOST string is not the problem). In HMaster.java, the server's hostname is also obtained via Hadoop's DNS library code {noformat} String hostname = Strings.domainNamePointerToHostName(DNS.getDefaultHost( {noformat} In Hadoop's DNS.java, by default this hostname would be given by InetAddress.getLocalHost().getCanonicalHostName(). Maybe, we should pass the same in the login call ? > Master and Region servers fail to start when hbase.master.ipc.address=0.0.0.0, hbase.regionserver.ipc.address=0.0.0.0 and Kerberos is enabled > --------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-11293 > URL: https://issues.apache.org/jira/browse/HBASE-11293 > Project: HBase > Issue Type: Bug > Reporter: Michael Harp > > Setting > {code} > hbase.master.ipc.address=0.0.0.0 > hbase.regionserver.ipc.address=0.0.0.0 > {code} > causes the _HOST substitution in hbase/_HOST@EXAMPLE.COM to result in "hbase/0:0:0:0:0:0:0:0@EXAMPLE.COM which in turn causes kerberos authentication to fail. -- This message was sent by Atlassian JIRA (v6.2#6252)