ResourceManager REST APIs

YARN ResourceManager APIs allow the user or administrator to obtain cluster metrics, lists of NodeManager nodes, scheduler information, associated applications, and so on. As mentioned in the previous chapters, the default port for the ResourceManager web application is 8088. An administrator can configure the web application address using the yarn.resourcemanager.webapp.address property in the yarn-site.xml file:

<property>
    <name>yarn.resourcemanager.webapp.address</name>
    <value>master:8088</value>
</property>

The ResourceManager REST APIs can be grouped as:

  • Cluster summary
  • Scheduler details
  • Nodes
  • Applications

The cluster summary

There are two URIs to fetch cluster meta-information such as the deployed version, available memory, ...

Get Learning YARN now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.