Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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.