Support Questions
Find answers, ask questions, and share your expertise

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

Accepted Solutions

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...

View solution in original post