m2je commented on issue #8: PHOENIX-5421: Phoenix Query server tests race 
condition issue on creating keytab folder
URL: https://github.com/apache/phoenix-queryserver/pull/8#issuecomment-517792858
 
 
   > When I ran the test without this PR, I got the following exception. I am 
unclear how this would fix it? Do I need to setup some configs?
   > 
   > `Caused by: javax.security.auth.login.LoginException: 
java.lang.IllegalArgumentException: Illegal principal name 
[email protected]: 
org.apache.hadoop.security.authentication.util.KerberosName$NoMatchingRule: No 
rules applied to [email protected] at 
org.apache.hadoop.security.UserGroupInformation$HadoopLoginModule.commit(UserGroupInformation.java:200)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498) at 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:755) at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) at `
   
   Not sure if I have seen this issue or it could be related.
   If the test could possibly run into the race condition explained on the 
ticket this may help prevent it.
    I would start with checking if the keytab file is as properly configured 
and exists on the path when test wants to use it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to