Created 06-23-2023 01:32 AM
Hi,
I have a requirement where I need to update the Application-Name of a Yarn Application Master (AM) that I use to execute a task. The same Yarn AM is reused to run multiple tasks and and I need to update the Application-Name of the Yarn AM based on the task I run currently.
Example.:
If I am running a sort task, then ' yarn application -list' command should show:
Created 08-07-2024 12:38 AM
Hi @juanmgeorge1 ,
You cant change the name of running application
Created 08-28-2024 01:40 AM
Unfortunately, it is not possible to change the Application-Name of an already started Application Master in Apache Hadoop YARN. The Application-Name is set when the application is submitted and cannot be modified during runtime.
The Application-Name is typically specified as a parameter when submitting the application using the spark-submit command or the YARN REST API. Once the application is started, the Application-Name is fixed and cannot be changed.
If you need to change the Application-Name, you will need to stop the existing application and submit a new one with the desired name.