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

Naganarasimha G R commented on YARN-4462:
-----------------------------------------

Hi [~Tao Jie]
Why not make use of existing configuration under a queue 
{{yarn.scheduler.capacity.<queue-path>.disable_preemption}} so that we can 
selectively disable preemption for certain queues (rather configure most of the 
queues to disable excluding few) and submit the non preemptable apps in those 
queues where we have explicitly disabled preemption.


> Scheduler should prevent certain application from being preempted
> -----------------------------------------------------------------
>
>                 Key: YARN-4462
>                 URL: https://issues.apache.org/jira/browse/YARN-4462
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: scheduler
>    Affects Versions: 2.6.0
>            Reporter: Tao Jie
>
> 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