-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-16455. RBF: Add zk-dt-secret-manager.jute.maxbuffer
property for Router's ZKDelegationTokenManager
#3983
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
base: trunk
Are you sure you want to change the base?
Conversation
zk-dt-secret-manager.jute.maxbuffer
configzk-dt-secret-manager.jute.maxbuffer
property for Router's ZKDelegationTokenManager
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.
Note: this is not just a RBF only change.
The ZKDT is used by YARN, KMS as well.
It's a good idea to specify jute buffer size. We've seen similar issues with KMS too.
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.
The patch itself looks good. I think one of the problem today is there's no documentation around the zkdt usage unless you dig into the code. We should add a better doc as a follow-up jira.
💔 -1 overall
This message was automatically generated. |
zk-dt-secret-manager.jute.maxbuffer
property for Router's ZKDelegationTokenManagerzk-dt-secret-manager.jute.maxbuffer
property for Router's ZKDelegationTokenManager
@jojochuang Thank you for your review. We should add a better doc around the zkdt usage. +1 |
...rc/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java
Outdated
Show resolved
Hide resolved
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Description of PR
https://issues.apache.org/jira/browse/HDFS-16455
How was this patch tested?
no test
For code changes:
add
zk-dt-secret-manager.jute.maxbuffer
property to default value20000000
, 20MB