From eceb3b7b67a8a540f4634141bc0018b7ab8eea0f Mon Sep 17 00:00:00 2001 From: Vijay Bhat Date: Mon, 8 Dec 2014 11:44:38 -0800 Subject: [PATCH] YARN-2230 Fix documentation in yarn-default.xml about the behavior of the RM when the requested number of vcores exceeds the maximum configured value --- .../hadoop-yarn-common/src/main/resources/yarn-default.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 73a6b5d..30bb783 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 @@ -253,8 +253,8 @@ 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 -- 1.9.3 (Apple Git-50)