[
https://issues.apache.org/jira/browse/HADOOP-18427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Íñigo Goiri resolved HADOOP-18427.
----------------------------------
Fix Version/s: 3.4.0
Hadoop Flags: Reviewed
Resolution: Fixed
> 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
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> 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]