Repository: hadoop Updated Branches: refs/heads/branch-2 be8e001f1 -> 580275628
YARN-6057. yarn.scheduler.minimum-allocation-* descriptions are incorrect about behavior when a request is out of bounds. Contributed by Julia Sommer. (cherry picked from commit a9d946d4df91c29ea86851bb1c5046e95dc80406) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/58027562 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/58027562 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/58027562 Branch: refs/heads/branch-2 Commit: 580275628b3090526e1686bf84d250d62f976e59 Parents: be8e001 Author: bibinchundatt <[email protected]> Authored: Tue Jan 17 14:14:03 2017 +0530 Committer: bibinchundatt <[email protected]> Committed: Tue Jan 17 14:18:41 2017 +0530 ---------------------------------------------------------------------- .../src/main/resources/yarn-default.xml | 23 +++++++++++--------- 1 file changed, 13 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/58027562/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 310cdb4..0733608 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 @@ -305,32 +305,35 @@ </property> <property> - <description>The minimum allocation for every container request at the RM, - in MBs. Memory requests lower than this will throw a - InvalidResourceRequestException.</description> + <description>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.</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 will throw a + <description>The maximum allocation for every container request at the RM + in MBs. Memory requests higher than this will throw an 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 will throw a - InvalidResourceRequestException.</description> + <description>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.</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 will throw a + <description>The maximum allocation for every container request at the RM + in terms of virtual CPU cores. Requests higher than this will throw an InvalidResourceRequestException.</description> <name>yarn.scheduler.maximum-allocation-vcores</name> <value>4</value> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
