Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Get metrics for a specific queue

avatar
New Member

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