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, cluster capabilities, nodes available, and so on:
Cluster metadata: This API provides overall information about the cluster, including the state and version of ResourceManager and Hadoop:
URI:
http:/...