Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to find No of Containers of a finished YARN job using application id ? I want to do it in terminal not through UI for a bunch of Application ids .

avatar
New Contributor

How to find No of Containers of a finished YARN job using application id ? I want to do it in terminal not through UI for a bunch of Application ids .

 

We want o find report or all yarn application ids .

If something i can do it from terminal then i can automate to get the report for many app ids on one shot .

2 REPLIES 2

avatar
Cloudera Employee

avatar
Expert Contributor

@Priyan - You can use the below command to get the details.

yarn applicationattempt -list <app_number>

 

You can refer below document to create the command based upon the use case. 

 

https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/YarnCommands.html#applicationatt...