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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.