本文主要是介绍NodeManager REST API’s,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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.
这篇关于NodeManager REST API’s的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!