yarn.nodemanager.resource.memory-mb |
-1 |
可分配給containers的物理內存量(以MB爲單位)。 如果設置爲-1並且yarn.nodemanager.resource.detect-hardware-capabilities爲true,則將自動計算該值(在Windows和Linux中)。 在其他情況下,默認值爲8192MB。 |
Amount of physical memory, in MB, that can be allocated for containers. If set to -1 and yarn.nodemanager.resource.detect-hardware-capabilities is true, it is automatically calculated(in case of Windows and Linux). In other cases, the default is 8192MB. |
yarn.nodemanager.resource.detect-hardware-capabilities |
false |
啓用對節點容量(例如內存和CPU)的自動檢測功能。 |
Enable auto-detection of node capabilities such as memory and CPU. |
yarn.nodemanager.resource.system-reserved-memory-mb |
-1 |
爲非YARN進程保留的物理內存量(以MB爲單位)。 僅當yarn.nodemanager.resource.detect-hardware-capabilities設置爲true且yarn.nodemanager.resource.memory-mb爲-1時,才使用此配置。 如果設置爲-1,則此值計算爲(系統內存-2 * HADOOP_HEAPSIZE)的20% |
Amount of physical memory, in MB, that is reserved for non-YARN processes. This configuration is only used if yarn.nodemanager.resource.detect-hardware-capabilities is set to true and yarn.nodemanager.resource.memory-mb is -1. If set to -1, this amount is calculated as 20% of (system memory - 2*HADOOP_HEAPSIZE) |
yarn.nodemanager.vmem-pmem-ratio |
2.1 |
設置容器的內存限制時,虛擬內存與物理內存之間的比率。 容器分配以物理內存的形式表示,虛擬內存使用量可以超出此分配比例。 |
Ratio between virtual memory to physical memory when setting memory limits for containers. Container allocations are expressed in terms of physical memory, and virtual memory usage is allowed to exceed this allocation by this ratio |
yarn.nodemanager.pmem-check-enabled |
true |
是否啓動一個線程監測每個任務正使用的物理內存量,如果任務超出分配值,則直接將其殺掉 |
Whether physical memory limits will be enforced for containers |
yarn.nodemanager.vmem-check-enabled |
true |
是否啓動一個線程監測每個任務正使用的虛擬內存量,如果任務超出分配值,則直接將其殺掉 |
Whether virtual memory limits will be enforced for containers. |
yarn.scheduler.maximum-allocation-mb |
8192 |
RM爲每個container請求分配的最大內存(以MB爲單位)。 高於此值的內存請求將引發InvalidResourceRequestException。 |
The maximum allocation for every container request at the RM in MBs. Memory requests higher than this will throw an InvalidResourceRequestException. |
yarn.scheduler.minimum-allocation-mb |
1024 |
RM處每個container請求分配的最小內存(以MB爲單位)。 低於此值的內存請求將設置爲此屬性的值。 此外,資源管理器將關閉配置爲具有少於此值的內存的節點管理器。 |
The minimum allocation for every container request at the RM in MBs. Memory requests lower than this will be set to the value of this property. Additionally, a node manager that is configured to have less memory than this value will be shut down by the resource manager. |