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 "Shilun Fan (Jira)" <ji...@apache.org> on 2026/02/23 04:23:00 UTC
[jira] [Resolved] (YARN-11933) TestAMSimulator fails due to shared node labels store directory
[ https://issues.apache.org/jira/browse/YARN-11933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan resolved YARN-11933.
-------------------------------
Fix Version/s: 3.5.0
Hadoop Flags: Reviewed
Resolution: Fixed
> TestAMSimulator fails due to shared node labels store directory
> ---------------------------------------------------------------
>
> Key: YARN-11933
> URL: https://issues.apache.org/jira/browse/YARN-11933
> Project: Hadoop YARN
> Issue Type: Bug
> Components: scheduler-load-simulator
> Affects Versions: 3.5.1
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> *Problem*
> *TestAMSimulator* fails intermittently when running concurrently or repeatedly due to shared Node Labels Store directory conflicts. Multiple test instances write to the same default directory, causing interference and test failures.
> *Root Case*
> The test does not specify an independent Node Labels Store directory via
> YarnConfiguration.FS_NODE_LABELS_STORE_ROOT_DIR
> All test instances use the default shared path, leading to conflicts when:
> 1. Tests run in parallel
> 2. Multiple test executions overlap
> 3. Concurrent parameterized test cases execute
> *Solution*
> Create isolated temporary directories for each test instance:
> 1. Setup phase: Create a unique temporary directory for Node Labels Store and configure it via YarnConfiguration.FS_NODE_LABELS_STORE_ROOT_DIR
> 2.Teardown phase: Clean up the temporary directory to prevent resource leaks
--
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