YARN-2230. Fixed few configs description in yarn-default.xml. Contributed by Vijay Bhat
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5eee2fff Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5eee2fff Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5eee2fff Branch: refs/heads/HDFS-EC Commit: 5eee2fff2050857ae4bdcacd74f4a09f8a8746d8 Parents: 2fbde44 Author: Jian He <[email protected]> Authored: Wed Jan 7 10:57:06 2015 -0800 Committer: Zhe Zhang <[email protected]> Committed: Mon Jan 12 10:17:59 2015 -0800 ---------------------------------------------------------------------- hadoop-yarn-project/CHANGES.txt | 3 +++ .../src/main/resources/yarn-default.xml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/5eee2fff/hadoop-yarn-project/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 5307a01..8a652fa 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 http://git-wip-us.apache.org/repos/asf/hadoop/blob/5eee2fff/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml ---------------------------------------------------------------------- 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 ca40e65..7dea2c3 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 @@ <property> <description>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.</description> + in MBs. Memory requests lower than this will throw a + InvalidResourceRequestException.</description> <name>yarn.scheduler.minimum-allocation-mb</name> <value>1024</value> </property> <property> <description>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.</description> + in MBs. Memory requests higher than this will throw a + InvalidResourceRequestException.</description> <name>yarn.scheduler.maximum-allocation-mb</name> <value>8192</value> </property> <property> <description>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.</description> + in terms of virtual CPU cores. Requests lower than this will throw a + InvalidResourceRequestException.</description> <name>yarn.scheduler.minimum-allocation-vcores</name> <value>1</value> </property> <property> <description>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.</description> + in terms of virtual CPU cores. Requests higher than this will throw a + InvalidResourceRequestException.</description> <name>yarn.scheduler.maximum-allocation-vcores</name> <value>32</value> </property>
