hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
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
Date Sun, 08 Jun 2014 21:29:02 GMT

    [ 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)

Mime
View raw message