HADOOP-6941 hadoop-auth testcases with Kerberos ON pass, mvn test -PtestKerberos
HADOOP-6941 the tests fail with the error below.
Doing some IDE debugging I've found out that the changes in
HADOOP-6941 are making the JVM Kerberos libraries to append an extra element to the kerberos principal of the server (on the client side when creating the token) so HTTP/localhost ends up being HTTP/localhost/localhost. Then, when contacting the KDC to get the granting ticket, the server principal is unknown.