diff --git hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml index 3c30ed3..8e419d3 100644 --- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml +++ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml @@ -319,32 +319,35 @@ - The minimum allocation for every container request at the RM, - in MBs. Memory requests lower than this will throw a - InvalidResourceRequestException. + 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. yarn.scheduler.minimum-allocation-mb 1024 - The maximum allocation for every container request at the RM, - in MBs. Memory requests higher than this will throw a + The maximum allocation for every container request at the RM + in MBs. Memory requests higher than this will throw an InvalidResourceRequestException. yarn.scheduler.maximum-allocation-mb 8192 - The minimum allocation for every container request at the RM, - in terms of virtual CPU cores. Requests lower than this will throw a - InvalidResourceRequestException. + The minimum allocation for every container request at the RM + in terms of virtual CPU cores. Requests lower than this will be set to the + value of this property. Additionally, a node manager that is configured to + have fewer virtual cores than this value will be shut down by the resource + manager. yarn.scheduler.minimum-allocation-vcores 1 - The maximum allocation for every container request at the RM, - in terms of virtual CPU cores. Requests higher than this will throw a + The maximum allocation for every container request at the RM + in terms of virtual CPU cores. Requests higher than this will throw an InvalidResourceRequestException. yarn.scheduler.maximum-allocation-vcores 4