[ 
https://issues.apache.org/jira/browse/HADOOP-20009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shilun Fan resolved HADOOP-20009.
---------------------------------
    Fix Version/s: 3.5.1
                   3.6.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

> 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
>             Fix For: 3.5.1, 3.6.0
>
>
> 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