Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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 .

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 .

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

Re: 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 .

Cloudera Employee

Re: 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 .

Rising Star

@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... 

Don't have an account?
Coming from Hortonworks? Activate your account here