Support Questions

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

Get metrics for a specific queue

avatar
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

avatar
Rising Star

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

View solution in original post

4 REPLIES 4

avatar
Master 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/

avatar
Master Mentor

avatar
Rising Star

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

avatar
Rising Star