You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Chris Nauroth (Jira)" <ji...@apache.org> on 2022/12/28 19:10:00 UTC

[jira] [Resolved] (YARN-11388) Prevent resource leaks in TestClientRMService.

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

Chris Nauroth resolved YARN-11388.
----------------------------------
    Fix Version/s: 3.4.0
                   3.2.5
                   3.3.9
       Resolution: Fixed

I have merged this to trunk, branch-3.3 and branch-3.2 (after resolving some minor merge conflicts). [~slfan1989] , thank you for your review!

> Prevent resource leaks in TestClientRMService.
> ----------------------------------------------
>
>                 Key: YARN-11388
>                 URL: https://issues.apache.org/jira/browse/YARN-11388
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: test
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.2.5, 3.3.9
>
>
> While working on YARN-11360, I noticed a few problems in {{TestClientRMService}} that made it difficult to work with. Tests do not guarantee that servers they start up get shutdown. If an individual test fails, then it can leave TCP sockets bound, causing subsequent tests in the suite to fail on their socket bind attempts for the same port. There is also a file generated by a test that is leaking outside of the build directory into the source tree.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org