Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17270

RBF: Fix ZKDelegationTokenSecretManagerImpl use closed zookeeper client to get token in some case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • rbf
    • Reviewed

    Description

      Now, we use CuratorFramework to simplifies using ZooKeeper in ZKDelegationTokenSecretManagerImpl and we always hold the same zookeeperClient after initialization ZKDelegationTokenSecretManagerImpl. But in some cases like network problem , CuratorFramework may close current zookeeperClient and create new one. In this case , we will use a zkclient which has been closed to get token. We encountered this situation in our cluster´╝îexception information in attachment.

      Attachments

        Issue Links

          Activity

            People

              lei w lei w
              lei w lei w
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: