AngersZhuuuu commented on a change in pull request #26594: [SPARK-29957][TEST] 
Bump MiniKdc to 3.2.0
URL: https://github.com/apache/spark/pull/26594#discussion_r350729070
 
 

 ##########
 File path: 
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaTestUtils.scala
 ##########
 @@ -136,6 +137,20 @@ class KafkaTestUtils(
     kdcConf.setProperty(MiniKdc.DEBUG, "true")
     kdc = new MiniKdc(kdcConf, kdcDir)
     kdc.start()
+    val krb5Conf = Source.fromFile(kdc.getKrb5conf, "UTF-8").getLines()
 
 Review comment:
   > Maybe we can extract this functionality into a function and this way 
simple tests can be added.
   
   Here I want to show add `default_tkt_enctypes` and `default_tgs_enctypes` is 
useful and it can solve this problem. 
   
   For me, I prefer to build spark's MiniKDC like Kafka and make `krb5.conf` 
customize. 
   Hadoop's MiniKDC  is not so good.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to