Support Questions

Find answers, ask questions, and share your expertise

YARN Capacity Scheduler Queue utilisation graph.

Expert Contributor

Is there any tool which will give Queue utilisation(memory, cores) graph?

I want historical data in graphical representation, so that I can adjust my workload(reschedule jobs) as per resource utilization trend over time.

1 ACCEPTED SOLUTION

Contributor
@Rahul Pathak

I guess Grafana with Ambari can help on this. Please use link to setup and configure Grafana.

Once Grafana is accessible, design your dashboard. Below are few sample screenshots:

855-04.png

856-05.png

View solution in original post

14 REPLIES 14

@Rahul Pathak That will be RM UI, You can see all the jobs running and using different queues.

Click Yarn in ambari --> Quick links

Expert Contributor

I want historical data in graphical representation, so that I can adjust my workload(reschedule jobs) as per resource utilization trend over time.

@Rahul Pathak You are looking for something like this

Expert Contributor

@Neeraj Sabharwal I need something like this. But working on real data.

Contributor
@Rahul Pathak

I guess Grafana with Ambari can help on this. Please use link to setup and configure Grafana.

Once Grafana is accessible, design your dashboard. Below are few sample screenshots:

855-04.png

856-05.png

Expert Contributor

Thanks.

I will check and let you know.

Expert Contributor

It is working fine. Thanks once again.

However I guess this is not available for ambari without ambari metrics collector.

Is there way to achieve this for Ambari Version1.5.1.110

Contributor

For Ambari 1.5, Am not sure which fits this requirement. Will let you know, If I find anything.

Guru

@Rahul Pathak @Neeraj Sabharwal : I am trying to configure grafan with ambari and trying to create graph but it is throwing me an error. So can you please point me to solution.

Problem! The requested resource doesn't exist: ServiceComponentHost not found, clusterName=HDPTST, serviceName=AMBARI_METRICS, serviceComponentName=METRICS_COLLECTOR, hostName=test.com

Expert Contributor

@Saurabh Kumar

Ensure that you select values from drop-down list. You don't need to add values manually. Also ensure that you don't miss any value

Guru

HI @Rahul Pathak I am selecting from drop down only as below . but it is giving me same error.

1977-screen-shot-2016-02-10-at-63425-pm.png

1978-screen-shot-2016-02-10-at-63352-pm.png

Expert Contributor

What is your ambari and HDP version. Try generating graph for some other component like Resourcemanager. Also try deleting stale hosts/services from ambari.

Guru
@Rahul Pathak

I have ambari Version2.2.0.0 and hdp stack 2.3.4.0.

I tried for other metrics for Resourcemanager but getting some weird error.

Problem! Unable to compile query predicate: Invalid Query Token: token='(', previous token type=VALUE_OPERAND.

1979-screen-shot-2016-02-10-at-71513-pm.png

Expert Contributor

@Saurabh Kumar

Metrics for which you are trying to generate the graph needs to be edited manually.

Enter "metrics/yarn/Queue/root/AvailableMB" in metric box while selecting Resourcemanager

Similarly for child queue of root viz child1 you have to enter metrics/yarn/Queue/root/child1/AvailableMB

I have tested this on ambari Version 2.2.0.0 with hdp stack 2.3.4.0.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.