[
https://issues.apache.org/jira/browse/PHOENIX-5221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897356#comment-16897356
]
Swaroopa Kadam commented on PHOENIX-5221:
-----------------------------------------
[~m2je] Could you please provide a patch that can be backported on
4.14-HBase-1.x branches. This ll help us for 4.14.3 release.
> Phoenix Kerberos Integration tests failure on Redhat Linux
> ----------------------------------------------------------
>
> Key: PHOENIX-5221
> URL: https://issues.apache.org/jira/browse/PHOENIX-5221
> Project: Phoenix
> Issue Type: Bug
> Environment: Redhat / Centos Linux
> Reporter: Mehdi Salarkia
> Assignee: Mehdi Salarkia
> Priority: Major
> Fix For: 4.15.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Due to this bug https://bugzilla.redhat.com/show_bug.cgi?id=668830
> We need to use `localhost.localdomain` when running these tests on Jenkins
> (Centos)
> but for Mac OS it should be `localhost` to pass.
> The reason is kerberos principals in this tests are looked up from /etc/hosts
> and 127.0.0.1 is resolved to `localhost.localdomain` rather than `localhost`
> on Redhat
> KDC sees `localhost` != `localhost.localdomain` and as the result test fails
> with authentication error.
> It's also important to note these principals are shared between HDFs and
> HBase in this mini HBase cluster.
> Some more reading https://access.redhat.com/solutions/57330
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)