[
https://issues.apache.org/jira/browse/HADOOP-18427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630137#comment-17630137
]
ASF GitHub Bot commented on HADOOP-18427:
-----------------------------------------
slfan1989 commented on PR #5118:
URL: https://github.com/apache/hadoop/pull/5118#issuecomment-1306544975
@melissayou Thanks for your contribution, LGTM.
> 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]