[ 
https://issues.apache.org/jira/browse/YARN-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066578#comment-15066578
 ] 

Daniel Templeton commented on YARN-4492:
----------------------------------------

Minor language edits:

{noformat}
The `CapacityScheduler` supports the following parameters to control the 
preemption of containers of applications submitted to a queue:
{noformat}

should be:

{noformat}
 The `CapacityScheduler` supports the following parameters to control the 
preemption of application containers submitted to a queue:
{noformat}

and:

{noformat}
| `yarn.scheduler.capacity.<queue-path>.disable_preemption` | This 
configuration can be set true, to selectively disable preemption of application 
containers submitted to a given queue. This will take impact only when system 
wide preemption is enabled by configuring 
`yarn.resourcemanager.scheduler.monitor.enable` to *true* and 
`yarn.resourcemanager.scheduler.monitor.policies` to 
*ProportionalCapacityPreemptionPolicy*. Preemptability will be inherited from 
the parent's hierarchy unless explicitly overridden by a queue. Default value 
is false.
{noformat}

should maybe be:

{noformat}
| `yarn.scheduler.capacity.<queue-path>.disable_preemption` | This 
configuration can be set true to selectively disable preemption of application 
containers submitted to a given queue. This will take effect only when system 
wide preemption is enabled by configuring 
`yarn.resourcemanager.scheduler.monitor.enable` to *true* and 
`yarn.resourcemanager.scheduler.monitor.policies` to 
*ProportionalCapacityPreemptionPolicy*. A queue's ability to be preempted is 
inherited from its parent unless explicitly overridden for that queue. The 
default value is false.
{noformat}



> Add documentation for queue level preemption which is supported in Capacity 
> scheduler
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-4492
>                 URL: https://issues.apache.org/jira/browse/YARN-4492
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacity scheduler
>            Reporter: Naganarasimha G R
>            Assignee: Naganarasimha G R
>            Priority: Minor
>         Attachments: CapacityScheduler.html, YARN-4492.v1.001.patch
>
>
> As part of YARN-2056, Support has been added to disable preemption for a 
> specific queue. This is a useful feature in a multiload cluster but currently 
> missing documentation. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to