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

Reply via email to