You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/10/25 08:03:46 UTC

[GitHub] [spark] gaborgsomogyi opened a new pull request #26252: [SPARK-29580][TESTS] Add kerberos debug messages for Kafka secure tests

gaborgsomogyi opened a new pull request #26252: [SPARK-29580][TESTS] Add kerberos debug messages for Kafka secure tests
URL: https://github.com/apache/spark/pull/26252
 
 
   ### What changes were proposed in this pull request?
   `org.apache.spark.sql.kafka010.KafkaDelegationTokenSuite` failed lately. After had a look at the logs it just shows the following fact without any details:
   ```
   Caused by: sbt.ForkMain$ForkError: sun.security.krb5.KrbException: Server not found in Kerberos database (7) - Server not found in Kerberos database
   ```
   Since the issue is intermittent and not able to reproduce it we should add more debug information and wait for reproduction with the extended logs.
   
   ### Why are the changes needed?
   Failing test doesn't give enough debug information.
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   I've started the test manually and checked that such additional debug messages show up:
   ```
   >>> KrbApReq: APOptions are 00000000 00000000 00000000 00000000
   >>> EType: sun.security.krb5.internal.crypto.Aes128CtsHmacSha1EType
   Looking for keys for: kafka/localhost@EXAMPLE.COM
   Added key: 17version: 0
   Added key: 23version: 0
   Added key: 16version: 0
   Found unsupported keytype (3) for kafka/localhost@EXAMPLE.COM
   >>> EType: sun.security.krb5.internal.crypto.Aes128CtsHmacSha1EType
   Using builtin default etypes for permitted_enctypes
   default etypes for permitted_enctypes: 17 16 23.
   >>> EType: sun.security.krb5.internal.crypto.Aes128CtsHmacSha1EType
   MemoryCache: add 1571936500/174770/16C565221B70AAB2BEFE31A83D13A2F4/client/localhost@EXAMPLE.COM to client/localhost@EXAMPLE.COM|kafka/localhost@EXAMPLE.COM
   MemoryCache: Existing AuthList:
   #3: 1571936493/200803/8CD70D280B0862C5DA1FF901ECAD39FE/client/localhost@EXAMPLE.COM
   #2: 1571936499/985009/BAD33290D079DD4E3579A8686EC326B7/client/localhost@EXAMPLE.COM
   #1: 1571936499/995208/B76B9D78A9BE283AC78340157107FD40/client/localhost@EXAMPLE.COM
   ```
   

----------------------------------------------------------------
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: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org