-
Couldn't load subscription status.
- Fork 9.1k
HADOOP-18427. Improve ZKDelegationTokenSecretManager#startThead With recommended methods. #4812
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
Conversation
…recommended methods.
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
@goiri Can you help merge this pr into trunk branch? Thank you very much! |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
@goiri Thank you very much for your help reviewing the code! |
…recommended methods. (apache#4812)
…recommended methods. (apache#4812)
…5118) * HADOOP-18427. Improve ZKDelegationTokenSecretManager#startThead With recommended methods. (#4812) * HADOOP-18452. Fix TestKMS#testKMSHAZooKeeperDelegationToken Failed By Hadoop-18427. (#4885) Co-authored-by: slfan1989 <[email protected]>
…recommended methods. (apache#4812)
…pache#5118) (apache#29) * HADOOP-18427. Improve ZKDelegationTokenSecretManager#startThead With recommended methods. (apache#4812) * HADOOP-18452. Fix TestKMS#testKMSHAZooKeeperDelegationToken Failed By Hadoop-18427. (apache#4885) Co-authored-by: slfan1989 <[email protected]> Co-authored-by: Melissa You <[email protected]> Co-authored-by: slfan1989 <[email protected]>
JIRA: HADOOP-18427. Improve ZKDelegationTokenSecretManager#startThead With recommended methods.
When reading the code, I found a deprecated method to use. In ZKDelegationTokenSecretManager#startThead, the code here uses the Curator's EnsurePath,
But EnsurePath is deprecated, use the recommended method instead
public class EnsurePath
Deprecated.
Since 2.9.0 - Prefer CuratorFramework.create().creatingParentContainersIfNeeded() or CuratorFramework.exists().creatingParentContainersIfNeeded()