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

Wilfred Spiegelenburg commented on YUNIKORN-2107:
-------------------------------------------------

We used to have this until it was removed in 1.3.0 as part of the [partition 
config|https://yunikorn.apache.org/docs/next/user_guide/queue_config#partitions]:
{code:java}
* preemption (deprecated since v1.3.0){code}
Reinstating that parameter is less intrusive and makes more sense than adding a 
new entry in the config map. Turn off preemption as part of the queue 
configuration is where I think it belongs. That same object could be used to 
set a different global default for the preemptionDelay instead of the 30s

> Allow preemption to be disabled globally
> ----------------------------------------
>
>                 Key: YUNIKORN-2107
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2107
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - scheduler
>            Reporter: Craig Condit
>            Assignee: Craig Condit
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, there is no way to disable preemption on a global basis. As 
> preemption still has some know issues, it would be useful to allow a global 
> flag to disable it.
>  
> We should add a configmap entry "service.disablePreemption" (defaulting to 
> false) that can be used to disable the preemption logic entirely.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to