aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Erb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-1908) Short-circuit preemption filtering when a Veto applies to entire host
Date Tue, 21 Mar 2017 22:06:41 GMT

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

Stephan Erb commented on AURORA-1908:
-------------------------------------

Are you talking about this code here https://github.com/apache/aurora/blob/783baaefb9a814ca01fad78181fe3df3de5b34af/src/main/java/org/apache/aurora/scheduler/filter/SchedulingFilterImpl.java#L120?
It seems like we are already returning early.



> Short-circuit preemption filtering when a Veto applies to entire host
> ---------------------------------------------------------------------
>
>                 Key: AURORA-1908
>                 URL: https://issues.apache.org/jira/browse/AURORA-1908
>             Project: Aurora
>          Issue Type: Task
>            Reporter: Santhosh Kumar Shanmugham
>            Priority: Minor
>
> When matching a {{ResourceRequest}} against a {{UnusedResource}} in {{SchedulerFilterImpl.filter}}
there are 4 kinds of {{Veto}}es that can be returned. 3 out of the 4 {{Veto}}es apply to the
entire host (namely {{DEDICATED_CONSTRAINT_MISMATCH}}, {{MAINTENANCE}}, {{LIMIT_NOT_SATISFIED}}
or {{CONSTRAINT_MISMATCH}}). In this case we can short-circuit and return early and move on
to the next host to consider.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message