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

(cherry picked from commit 3f970ac363dc2faf4f54180ee5b64d0c60807097)
This commit is contained in:
Ray Chiang 2017-01-20 14:04:10 -08:00
parent c9824c5ff6
commit 9f0b813350
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,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.