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 c436289..65904c0 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 @@ -327,6 +327,16 @@ + The minimum unit of allocation for every container request at + the RM, in MBs. All memory requests will be normalized to a multiple of this + value, rounding up. Applies only to fair scheduler. For capacity and FIFO + schedulers, the value of yarn.scheduler.minimum-allocation-mb is used as the + minimum unit of allocation. + yarn.scheduler.increment-allocation-mb + 1024 + + + The maximum allocation for every container request at the RM, in MBs. Memory requests higher than this will throw a InvalidResourceRequestException. @@ -343,6 +353,17 @@ + The minimum unit of allocation for every container request at + the RM, in terms of virtual CPU cores. All virtual CPU core requests will be + normalized to a multiple of this value, rounding up. Applies only to fair + scheduler. For capacity and FIFO schedulers, the value of + yarn.scheduler.minimum-allocation-vcores is used as the minimum unit of + allocation. + yarn.scheduler.increment-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.