yunikorn-core icon indicating copy to clipboard operation
yunikorn-core copied to clipboard

[YUNIKORN-2507] Picking Victims should consider usage and max quota f…

Open manirajv06 opened this issue 11 months ago • 1 comments

…or queues at each level

What is this PR for?

Given the ask queue path, Choosing fence depends on whether queue at any level has FencePreemptionPolicy set or not. Otherwise, root would be used.

In addition, max resources and usage also needs to be checked for queues at different levels in ask's queue path hierarchy. If queue is already full at any level in the queue hierarchy, need to choose that queue as fence because there is no use in going up the tree further and considering other queue paths into victims queue path's list.

What type of PR is it?

  • [ ] - Improvement

Todos

  • [ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/YUNIKORN-2507

How should this be tested?

Screenshots (if appropriate)

Questions:

  • [ ] - The licenses files need update.
  • [ ] - There is breaking changes for older versions.
  • [ ] - It needs documentation.

manirajv06 avatar Mar 22 '24 09:03 manirajv06