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

Tao Jie commented on YARN-4462:
-------------------------------

In the attached patch, we add disable preemption tag for queues in 
fair-scheduler.xml. eg:
{code}
<queue name="queueA">
  <minResources>1024mb,0vcores</minResources>
  <disablePreemption/>
</queue>
{code}
With the disablePreemption tag, this queue and its descendants could not be 
preempted.
[~kasha], would you give it a quick review?

> FairScheduler: Disallow preemption from a queue
> -----------------------------------------------
>
>                 Key: YARN-4462
>                 URL: https://issues.apache.org/jira/browse/YARN-4462
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: fairscheduler
>    Affects Versions: 2.6.0
>            Reporter: Tao Jie
>            Assignee: Tao Jie
>         Attachments: YARN-4462.001.patch
>
>
> When scheduler preemption is enabled, applications could be preempted if they 
> obtain resource over they should take. 
> When a mapreduce application is preempted some resource, it just runs slower. 
> However, when the preempted application is a long-run service, such as tomcat 
> running in slider, the service would fail.
> So we should have a flag for application to indicate the scheduler that those 
> application should not be preempted. 



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

Reply via email to