NodeManager REST APIs
YARN NodeManager APIs allow the user or administrator to obtain the node resource metrics, health status of the node, list of applications and containers associated with that node, and so on. The default port for NodeManager's web application is 8042
. An administrator can configure the web application address using the yarn.nodemanager.webapp.address
property in the yarn-site.xml
file.
NodeManager REST APIs can be grouped as:
Node summary
Applications
Containers
The node summary
This API provides metadata about the node, which includes the version of the NodeManager service, host name, node status, resource utilization, and more:
Node metadata: The summary for the node:
URI:
http://<NM Http Address:Port>/ws/v1/node/info
Example:
http://node1:8042/ws/v1/node/info
Applications
Similar to the ResourceManager API, the application APIs for NodeManager provide information related to a collection of application objects or a specific application that is associated with the...