Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
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()
Attachments
Issue Links
- is related to
-
HADOOP-18452 Fix TestKMS#testKMSHAZooKeeperDelegationToken Failed By Hadoop-18427
-
- Resolved
-
- links to