Please check the values of 'yarn.scheduler.maximum-allocation-mb' and/or 'yarn.nodemanager.resource.memory-mb'.
时间: 2024-02-21 22:02:17 浏览: 84
Yarn 内存分配管理机制及相关参数配置.
The values of 'yarn.scheduler.maximum-allocation-mb' and 'yarn.nodemanager.resource.memory-mb' determine the maximum amount of memory that can be allocated to a single container running on a node in the YARN cluster.
'yarn.scheduler.maximum-allocation-mb' sets the maximum amount of memory that can be allocated to a single container by the YARN scheduler, while 'yarn.nodemanager.resource.memory-mb' sets the maximum amount of memory that can be allocated to a single container by the node manager.
To check the values of these parameters, you can use the following command:
```
yarn getconf -confKey yarn.scheduler.maximum-allocation-mb
yarn getconf -confKey yarn.nodemanager.resource.memory-mb
```
These commands will display the current values of these parameters in your YARN cluster.
阅读全文