fanshilun created HADOOP-18427:
----------------------------------
Summary: Improve ZKDelegationTokenSecretManager#startThead With
recommended methods.
Key: HADOOP-18427
URL: https://issues.apache.org/jira/browse/HADOOP-18427
Project: Hadoop Common
Issue Type: Improvement
Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun
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()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]