Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

rest api to get details on yarn memory and vcores usage

Is there some rest ap i available to fetch the yarn memory and cpu usage for the cluster ?

1 ACCEPTED SOLUTION

Rising Star

You can use http://<rm http address:port>/ws/v1/cluster/metrics . This will retrieve the allocatedMB and allocatedVirtualCores at a given point in time. Refer http://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_M...

View solution in original post

1 REPLY 1

Rising Star

You can use http://<rm http address:port>/ws/v1/cluster/metrics . This will retrieve the allocatedMB and allocatedVirtualCores at a given point in time. Refer http://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_M...

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