From fe8d2bd74175e7ad521bc310c41a367c0946d6ec Mon Sep 17 00:00:00 2001 From: Jian He Date: Wed, 7 Jan 2015 10:57:06 -0800 Subject: [PATCH] YARN-2230. Fixed few configs description in yarn-default.xml. Contributed by Vijay Bhat --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../src/main/resources/yarn-default.xml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 5307a01375..8a652fa3dc 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -325,6 +325,9 @@ Release 2.7.0 - UNRELEASED YARN-2978. Fixed potential NPE while getting queue info. (Varun Saxena via jianhe) + YARN-2230. Fixed few configs description in yarn-default.xml. (Vijay Bhat + via jianhe) + Release 2.6.0 - 2014-11-18 INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml index ca40e65b96..7dea2c35d7 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml @@ -229,32 +229,32 @@ The minimum allocation for every container request at the RM, - in MBs. Memory requests lower than this won't take effect, - and the specified value will get allocated at minimum. + in MBs. Memory requests lower than this will throw a + InvalidResourceRequestException. yarn.scheduler.minimum-allocation-mb 1024 The maximum allocation for every container request at the RM, - in MBs. Memory requests higher than this won't take effect, - and will get capped to this value. + in MBs. Memory requests higher than this will throw a + 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 won't take effect, - and the specified value will get allocated the minimum. + in terms of virtual CPU cores. Requests lower than this will throw a + InvalidResourceRequestException. 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 won't take effect, - and will get capped to this value. + in terms of virtual CPU cores. Requests higher than this will throw a + InvalidResourceRequestException. yarn.scheduler.maximum-allocation-vcores 32