yarn 管理内存相关配置
properties | value | 描述 | description |
---|---|---|---|
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)的自动检测功能。 |