lei w created HDFS-17270:
----------------------------

             Summary:  Fix ZKDelegationTokenSecretManagerImpl use closed 
zookeeper Client  to get token in some case 
                 Key: HDFS-17270
                 URL: https://issues.apache.org/jira/browse/HDFS-17270
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: lei w
         Attachments: CuratorFrameworkException

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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to