-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-29957][TEST] Reset MiniKDC's default enctypes to fit jdk8/jdk11 #26594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e9ef3ba
Update pom.xml
AngersZhuuuu 3ec2891
miniKdc -> minikdc
AngersZhuuuu 2e282f2
Update KafkaTestUtils.scala
AngersZhuuuu a224fad
Update KafkaTestUtils.scala
AngersZhuuuu 3456ff9
Follow comment
AngersZhuuuu dfdf589
Merge branch 'master' into minikdc-3.2.0
AngersZhuuuu 7ab6192
Update KafkaTestUtils.scala
AngersZhuuuu 476d60e
Update KafkaTestUtils.scala
AngersZhuuuu b782e99
Update KafkaTestUtils.scala
AngersZhuuuu 10a0006
Update KafkaTestUtils.scala
AngersZhuuuu 03f7fb1
Update KafkaTestUtils.scala
AngersZhuuuu e252dd0
Update KafkaTestUtils.scala
AngersZhuuuu 4facbee
Update KafkaTestUtils.scala
AngersZhuuuu 223533f
Update KafkaTestUtils.scala
AngersZhuuuu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
miniKdc -> minikdc
- Loading branch information
commit 3ec289102c412c16a0f429caf27b2607e8540ac6
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we can mix and match Hadoop versions this way. I think generally speaking Hadoop 3.x is what we'd tell people to use for JDK 11 compatibility. But if the other change to refreshKrb5Config is needed and compatible, we can make that change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Agree with @srowen.
Could we fix this issue by changing the
default_tkt_enctypesanddefault_tgs_enctypes:https://www.oracle.com/technetwork/java/javase/11-relnote-issues-5012449.html#JDK-8014628
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also see https://issues.apache.org/jira/browse/KAFKA-7338
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@srowen @wangyum @dongjoon-hyun
I checked the kerberos code that when client call a request
KrbTgsReq/KrbTktReq, it will first check if there are configdefault_tkt_enctypesanddefault_tgs_enctypesinkrb5.conf, if not, then usejdk buildin enctypes.And i have checked the build in ecntypes:
In server side , they both use
aes128-cts-hmac-sha1-96as first choice.But MiniKdc don't have API for us to config these. So rewrite and refresh it.