HDP学习--YARN Resource Management(02)

本节介绍通过UI, 命令行, 配置文件, YARN API 管理YARN资源:

  1. Ambari UI
  2. ResourceManager UI
  3. Command line and manual configuration
  4. YARN API

一、 Ambari UI

1.1、Ambari UI YARN Management

HDP学习--YARN Resource Management(02)_第1张图片

1.2、Ambari UI YARN Resource Monitoring

HDP学习--YARN Resource Management(02)_第2张图片

1.3 Ambari UI YARN Heatmaps

HDP学习--YARN Resource Management(02)_第3张图片

1.4

HDP学习--YARN Resource Management(02)_第4张图片

The Configs tab provides the ability to modify the default behavior of YARN and YARN applications. The default Settings sub-tab contains several customizeable settings that can be configured via a GUI. These include:

 Memory: Controls the amount of node memory that can be allocated for containers, as well as the minimum and maximum size of those containers.
 YARN Features: Enable Node Lables to restrict YARN applications so that they can only run on nodes that have a specified label. Pre-emption allows the specification of higher-priority applications, which can reclaim resources from lower-priority applications in the event of resource contention.
 CPU: Enable CPU scheduling, which changes the default scheduler behavior to include both memory *and* CPU (rather than just memory) when making scheduling decisions. Enable CPU Isolation, which allows the isolation of CPU-heavy processes. When applicable (more on that in a later lesson), this section also controls the percentage of physical CPU allocated for containers on a node, the number of virtual cores allocated for containers. The Container settings set the minimum and maximum number of virtual cores (VCores) that can be allocated to any individual container.

你可能感兴趣的:(#,HDP学习)