[
https://issues.apache.org/jira/browse/HBASE-11293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025330#comment-14025330
]
Andrew Purtell edited comment on HBASE-11293 at 6/9/14 4:27 PM:
----------------------------------------------------------------
bq. 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 ?
That could work, as long as we also respect the configuration settings
'hbase.regionserver.dns.interface' (the name of the interface we should
retrieve the local IP address to look up the canonical hostname with) and
'hbase.regionserver.dns.nameserver' (the nameserver we should use for queries,
including reverse IP lookups)
was (Author: apurtell):
bq. 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 ?
That could work, as long as we continue to respect
hbase.regionserver.dns.interface (the name of the interface we should retrieve
the local IP address to look up the canonical hostname with) and
hbase.regionserver.dns.nameserver (the nameserver we should use for queries,
including reverse IP lookups)
> 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/[email protected] to result in
> "hbase/0:0:0:0:0:0:0:[email protected] which in turn causes kerberos
> authentication to fail.
--
This message was sent by Atlassian JIRA
(v6.2#6252)