You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jose Luis López (Jira)" <ji...@apache.org> on 2026/10/07 07:53:00 UTC
[jira] [Assigned] (YARN-11983) Shut down leaked mini-cluster instances
[ https://issues.apache.org/jira/browse/YARN-11983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jose Luis López reassigned YARN-11983:
--------------------------------------
Assignee: Jose Luis López
> Shut down leaked mini-cluster instances
> ---------------------------------------
>
> Key: YARN-11983
> URL: https://issues.apache.org/jira/browse/YARN-11983
> Project: Hadoop YARN
> Issue Type: Test
> Components: test
> Reporter: Jose Luis López
> Assignee: Jose Luis López
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.6.0
>
>
> Part of the mini-cluster leak scan recorded in HDFS-17957, I discovered theses in the YARN project:
>
> * TestFederationRMFailoverProxyProvider#testProxyProvider shuts its cluster
> down only on the happy path, so the cluster leaks exactly when the test
> fails.
> * TestMiniYarnClusterNodeUtilization holds a cluster in a field with no
> teardown in the class or its ancestors.
>
> Impact: a leaked cluster keeps threads, heap and ports alive under the
> remaining tests of the class, and a failure on the happy-path-only pattern can
> cascade into bogus failures of later tests in the same class.
>
> The fixes are mechanical - try-with-resources, and a teardown method.
> Test-scope only; no production code is touched.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org