[
https://issues.apache.org/jira/browse/PHOENIX-5421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899085#comment-16899085
]
Mehdi Salarkia commented on PHOENIX-5421:
-----------------------------------------
The patch attached to PHOENIX-5221 for 4.14 branches includes this fix (no
further action required).
For some reason this race condition is only visible on Phoenix 4.14 IT tests.
> Phoenix Query server tests race condition issue on creating keytab folder
> -------------------------------------------------------------------------
>
> Key: PHOENIX-5421
> URL: https://issues.apache.org/jira/browse/PHOENIX-5421
> Project: Phoenix
> Issue Type: Bug
> Reporter: Mehdi Salarkia
> Assignee: Mehdi Salarkia
> Priority: Blocker
> Fix For: queryserver-1.0.0, 4.14.3
>
> Attachments: PHOENIX-5421.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The two recently modified tests:
> * org.apache.phoenix.end2end.HttpParamImpersonationQueryServerIT
> * org.apache.phoenix.end2end.SecureQueryServerIT
> Share the same logic to construct a kerberos configuration folder and run a
> mini kerberized cluser. Which could run into race condition when one deletes
> the folder while the other is trying to use it to set up it's cluster.
>
> {code:java}
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.007
> s <<< FAILURE! - in org.apache.phoenix.end2end.SecureQueryServerIT
> [ERROR] org.apache.phoenix.end2end.SecureQueryServerIT Time elapsed: 0.007 s
> <<< ERROR!
> java.io.IOException: Login failure for securecluster/[email protected]
> from keytab
> /Users/msalarkia/workspace/apache-phoenix/phoenix-queryserver/target/AbstractKerberisedTest/keytabs/test.keytab:
> javax.security.auth.login.LoginException: Checksum failed
> at
> org.apache.phoenix.end2end.SecureQueryServerIT.setUp(SecureQueryServerIT.java:53)
> Caused by: javax.security.auth.login.LoginException: Checksum failed
> at
> org.apache.phoenix.end2end.SecureQueryServerIT.setUp(SecureQueryServerIT.java:53)
> Caused by: sun.security.krb5.KrbCryptoException: Checksum failed
> at
> org.apache.phoenix.end2end.SecureQueryServerIT.setUp(SecureQueryServerIT.java:53)
> Caused by: java.security.GeneralSecurityException: Checksum failed
> at
> org.apache.phoenix.end2end.SecureQueryServerIT.setUp(SecureQueryServerIT.java:53)
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)