NodeManager REST API’s

来源:互联网 发布:网络教学软件 编辑:程序博客网 时间:2024/06/05 20:37

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.

0 0
原创粉丝点击