Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

rest api to get details on yarn memory and vcores usage

SOLVED Go to solution
Highlighted

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

Re: rest api to get details on yarn memory and vcores usage

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

1 REPLY 1

Re: rest api to get details on yarn memory and vcores usage

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