NodeManager REST API’s
- Overview
- Enabling CORS support
- NodeManager Information API
- Applications API
- Application API
- Containers API
- Container API
Overview
The NodeManager REST API’s allow the user to get status on the node and information about applications and containers running on that node.
Enabling CORS support
To enable cross-origin support (CORS) for the NM only(without enabling it for the RM), please set the following configuration parameters:
In core-site.xml, add org.apache.hadoop.security.HttpCrossOriginFilterInitializer to hadoop.http.filter.initializers. In yarn-site.xml, set yarn.nodemanager.webapp.cross-origin.enabled to true.
NodeManager Information API
The node information resource provides overall information about that particular node.
标签:node,information,REST,API,CORS,NodeManager From: https://blog.51cto.com/u_11860992/6392687