[ 
https://issues.apache.org/jira/browse/HADOOP-20009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18124840#comment-18124840
 ] 

ASF GitHub Bot commented on HADOOP-20009:
-----------------------------------------

slfan1989 merged PR #8797:
URL: https://github.com/apache/hadoop/pull/8797




> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to