hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bibinchund...@apache.org
Subject hadoop git commit: YARN-6057. yarn.scheduler.minimum-allocation-* descriptions are incorrect about behavior when a request is out of bounds. Contributed by Julia Sommer.
Date Tue, 17 Jan 2017 08:46:53 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 7e81063c1 -> a9d946d4d


YARN-6057. yarn.scheduler.minimum-allocation-* descriptions are incorrect about behavior when
a request is out of bounds. Contributed by Julia Sommer.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/a9d946d4
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a9d946d4
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a9d946d4

Branch: refs/heads/trunk
Commit: a9d946d4df91c29ea86851bb1c5046e95dc80406
Parents: 7e81063
Author: bibinchundatt <bibinchundatt@apache.org>
Authored: Tue Jan 17 14:14:03 2017 +0530
Committer: bibinchundatt <bibinchundatt@apache.org>
Committed: Tue Jan 17 14:16:00 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/a9d946d4/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 f287db0..e1bdcc0 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
@@ -319,32 +319,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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message