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.

Get metrics for a specific queue

Solved Go to solution
Highlighted

Get metrics for a specific queue

New Contributor

Hello,

I am studying the list of available metrics in Ambari here: here

Some metrics looks like related to root queue : "yarn.QueueMetrics.Queue=root.AvailableMB"

How can I get the same metrics for a specific queue ? ex. marketing queue ?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Get metrics for a specific queue

Contributor

Hi Luis

If you are using Ambari 2.2.2 and above version. Then it comes with a service grafana. Grafana has the option to create dash board using AMS (Ambari metrics)..

https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Ambari_Users_Guide/content/_grafana_yarn...

I found this github, yet to be tried how it works.

https://github.com/prajwalrao/ambari-metrics-grafana/blob/master/README.md

Note: Don't forget to vote

4 REPLIES 4

Re: Get metrics for a specific queue

Mentor

you'd use the marketing in the name to look at specific queue utilization i.e.

yarn.scheduler.capacity.root.Marketing.Advertising.acl_administer_jobs=*
yarn.scheduler.capacity.root.Marketing.Advertising.acl_administer_queue=*
yarn.scheduler.capacity.root.Marketing.Advertising.acl_submit_applications=*
yarn.scheduler.capacity.root.Marketing.Advertising.capacity=30
yarn.scheduler.capacity.root.Marketing.Advertising.maximum-capacity=40
yarn.scheduler.capacity.root.Marketing.Advertising.state=STOPPED
yarn.scheduler.capacity.root.Marketing.Advertising.user-limit-factor=1
yarn.scheduler.capacity.root.Marketing.Sales.acl_administer_jobs=*
yarn.scheduler.capacity.root.Marketing.Sales.acl_administer_queue=*
yarn.scheduler.capacity.root.Marketing.Sales.acl_submit_applications=*
yarn.scheduler.capacity.root.Marketing.Sales.capacity=70
yarn.scheduler.capacity.root.Marketing.Sales.maximum-capacity=80
yarn.scheduler.capacity.root.Marketing.Sales.minimum-user-limit-percent=20
yarn.scheduler.capacity.root.Marketing.Sales.state=RUNNING
yarn.scheduler.capacity.root.Marketing.Sales.user-limit-factor=1
yarn.scheduler.capacity.root.Marketing.acl_administer_jobs=*
yarn.scheduler.capacity.root.Marketing.acl_submit_applications=*
yarn.scheduler.capacity.root.Marketing.capacity=10
yarn.scheduler.capacity.root.Marketing.maximum-capacity=40
yarn.scheduler.capacity.root.Marketing.queues=Sales,Advertising
yarn.scheduler.capacity.root.Marketing.state=RUNNING
yarn.scheduler.capacity.root.Marketing.user-limit-factor=1

http://hortonworks.com/hadoop-tutorial/configuring-yarn-capacity-scheduler-ambari/

Re: Get metrics for a specific queue

Mentor

Re: Get metrics for a specific queue

Contributor

Hi Luis

If you are using Ambari 2.2.2 and above version. Then it comes with a service grafana. Grafana has the option to create dash board using AMS (Ambari metrics)..

https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Ambari_Users_Guide/content/_grafana_yarn...

I found this github, yet to be tried how it works.

https://github.com/prajwalrao/ambari-metrics-grafana/blob/master/README.md

Note: Don't forget to vote

Re: Get metrics for a specific queue

Contributor