Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18427

Improve ZKDelegationTokenSecretManager#startThead With recommended methods.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • common
    • 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

          Activity

            People

              slfan1989 Shilun Fan
              slfan1989 Shilun Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: