[ https://issues.apache.org/jira/browse/HADOOP-18427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630141#comment-17630141 ]
ASF GitHub Bot commented on HADOOP-18427: ----------------------------------------- virajith merged PR #5118: URL: https://github.com/apache/hadoop/pull/5118 > 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: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org