You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/04/16 07:38:08 UTC

[GitHub] [hadoop] iwasakims commented on issue #1961: HADOOP-16972. Ignore AuthenticationFilterInitializer for KMSWebServer.

iwasakims commented on issue #1961: HADOOP-16972. Ignore AuthenticationFilterInitializer for KMSWebServer.
URL: https://github.com/apache/hadoop/pull/1961#issuecomment-614470861
 
 
   The added `testFilterInitializer` fails without the fix in `KMSWebServer`. The cause of "GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))" is the same of [HDFS-14845](https://issues.apache.org/jira/browse/HDFS-14845).
   ```
   [ERROR] testFilterInitializer(org.apache.hadoop.crypto.key.kms.server.TestKMS)  Time elapsed: 0.282 s  <<< ERROR!
   java.io.IOException: org.apache.hadoop.security.authentication.client.AuthenticationException: Error while authenticating with endpoint: http://localhost:40145/kms/v1/keys/names
   	at org.apache.hadoop.crypto.key.kms.KMSClientProvider.createConnection(KMSClientProvider.java:525)
   	at org.apache.hadoop.crypto.key.kms.KMSClientProvider.getKeys(KMSClientProvider.java:638)
   	... snip
   Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException: Authentication failed, URL: http://localhost:40145/kms/v1/keys/names?user.name=client, status: 403, message: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
   	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:404)
   	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:74)
   	at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator.authenticate(DelegationTokenAuthenticator.java:143)
   	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:213)
   	... 41 more
   ```
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org