You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/10/06 10:56:00 UTC
[jira] [Updated] (HADOOP-20009) Ensure token manager cleanup in testNodesLoadedAfterRestart
[ https://issues.apache.org/jira/browse/HADOOP-20009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HADOOP-20009:
------------------------------------
Labels: pull-request-available (was: )
> Ensure token manager cleanup in testNodesLoadedAfterRestart
> -----------------------------------------------------------
>
> Key: HADOOP-20009
> URL: https://issues.apache.org/jira/browse/HADOOP-20009
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 3.5.1, 3.6.0
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> TestZKDelegationTokenSecretManager.testNodesLoadedAfterRestart() destroys the original DelegationTokenManager before creating a replacement,
> but does not destroy the replacement when the test finishes. Cleanup is also not guaranteed if initialization or an assertion fails.
> The teardown then closes ZooKeeper while the ExpiredTokenRemover thread may still be running.
> The thread can encounter ConnectionLossException while updating the shared key ID counter and call Runtime.exit(-1),
> terminating the Surefire JVM with exit code 255.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org