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..56aca63 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,33 +319,36 @@ - 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 - InvalidResourceRequestException. + The maximum allocation for every container request at the RM + in MBs. Memory requests higher than this will be set to the value of this + property. 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 - InvalidResourceRequestException. + The maximum allocation for every container request at the RM + in terms of virtual CPU cores. Requests higher than this will be set to the + value of this property. yarn.scheduler.maximum-allocation-vcores 4