Mehdi Salarkia created PHOENIX-5221:
---------------------------------------

             Summary: 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


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.3#76005)

Reply via email to