[
https://issues.apache.org/jira/browse/YUNIKORN-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17142796#comment-17142796
]
Wilfred Spiegelenburg commented on YUNIKORN-241:
------------------------------------------------
PR opened to fix request sorting only: it fixes priority sorting and adds a
simple fifo policy. Request sorting is now configurable.
Fixed issues:
- minimum value for priority is 0
- priorities are sorted fifo if they are the same (fixes random order within
priority set)
- requests can also just be sorted fifo (ignoring priorities)
> fix request sorting
> -------------------
>
> Key: YUNIKORN-241
> URL: https://issues.apache.org/jira/browse/YUNIKORN-241
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Affects Versions: 0.8
> Reporter: Wilfred Spiegelenburg
> Assignee: Wilfred Spiegelenburg
> Priority: Major
> Labels: pull-request-available
>
> The requests are currently sorted based on priority.
> The sorting within requests with the same priority is broken due to the fact
> that the requests are stored in a map which gives back requests in a random
> order. This means that in the default setup requests will not be consistently
> sorted.
> If requests with the same priority are sorted we should be able to rely on
> the same result always. Currently we cannot.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]