[ 
https://issues.apache.org/jira/browse/SPARK-30037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17149451#comment-17149451
 ] 

Gabor Somogyi commented on SPARK-30037:
---------------------------------------

What use-case justifies the need to create a maybe several hundred lines of 
custom implementation which must be maintained by us?
The whole Spark is depending on Hadoop. Re-inventing the wheel is something 
where I don't see the return of investment.
If we really want to avoid the 10 liner in the test maybe we can ask our 
friends in Hadoop to add custom krb5.conf possibility.

> Customize krb5.conf to test Kafka delegation token with MiniKDC
> ---------------------------------------------------------------
>
>                 Key: SPARK-30037
>                 URL: https://issues.apache.org/jira/browse/SPARK-30037
>             Project: Spark
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 3.1.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> We need to improvement Kafka delegation token with MiniKDC to support test 
> KafkaDelegationTokenSuite on JDK 11 with hadoop 2.7.
> Maybe we should customize krb5.conf like Kafka to support adding 
> {{default_tkt_enctypes}} and {{default_tgs_enctypes}}:
>  
> [https://github.com/apache/kafka/blob/trunk/core/src/test/resources/minikdc-krb5.conf]
> More details:
>  [https://github.com/apache/spark/pull/26533#issuecomment-555266324]
>  [https://github.com/apache/spark/pull/26594#pullrequestreview-321964598]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to