YARN-6106.  Document FairScheduler 'allowPreemptionFrom' queue property. (Yufei 
Gu via rchiang)


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

Branch: refs/heads/YARN-5734
Commit: 9bab85cadfdfa0d9071303452f72c0a5d008480a
Parents: 355b907
Author: Ray Chiang <[email protected]>
Authored: Fri Jan 20 14:04:10 2017 -0800
Committer: Ray Chiang <[email protected]>
Committed: Fri Jan 20 14:08:25 2017 -0800

----------------------------------------------------------------------
 .../hadoop-yarn-site/src/site/markdown/FairScheduler.md            | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/9bab85ca/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/FairScheduler.md
----------------------------------------------------------------------
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/FairScheduler.md
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/FairScheduler.md
index ae4c3ab..5d7b3dc 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/FairScheduler.md
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/FairScheduler.md
@@ -119,6 +119,8 @@ The allocation file must be in XML format. The format 
contains five types of ele
 
     * fairSharePreemptionThreshold: the fair share preemption threshold for 
the queue. If the queue waits fairSharePreemptionTimeout without receiving 
fairSharePreemptionThreshold\*fairShare resources, it is allowed to preempt 
containers to take resources from other queues. If not set, the queue will 
inherit the value from its parent queue.
 
+    * allowPreemptionFrom: determines whether the scheduler is allowed to 
preempt resources from the queue. The default is true. If a queue has this 
property set to false, this property will apply recursively to all child queues.
+
 * **User elements**: which represent settings governing the behavior of 
individual users. They can contain a single property: maxRunningApps, a limit 
on the number of running apps for a particular user.
 
 * **A userMaxAppsDefault element**: which sets the default running app limit 
for any users whose limit is not otherwise specified.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to