[
https://issues.apache.org/jira/browse/HDFS-17270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17793723#comment-17793723
]
ASF GitHub Bot commented on HDFS-17270:
---------------------------------------
Hexiaoqiao commented on PR #6315:
URL: https://github.com/apache/hadoop/pull/6315#issuecomment-1842896978
Committed to trunk. Thanks @ThinkerLei and @zhangshuyan0
> RBF: 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
> Assignee: lei w
> Priority: Major
> Labels: pull-request-available
> 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: [email protected]
For additional commands, e-mail: [email protected]