aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mehrdad Nurolahzade <>
Subject Review Request 55243: AURORA-1868 Evaluate multiple preemption proposals per round
Date Fri, 06 Jan 2017 01:17:53 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Aurora, David McLaughlin and Zameer Manji.

Bugs: AURORA-1868

Repository: aurora


`TaskScheduler` makes an attempt to preempt already identified candidates through `Preemptor`
when it fails to schedule one or more tasks. However, `Preemptor` currently evaluates only
one proposal per invocation. A proposal may get vetoed at this point by scheduling filters.
If a proposal fails validation the task group might get penalized by `TaskGroups` to give
`PendingTaskProcessor` some time to find new preemption candidates; despite the fact that
another proposal may already exist in `slotCache`. This penalty might result in expiration
of existing proposals in `slotCache`, hence slowing down the overall preemption process.

This patch modifies `Preemptor` so that it evaluates all existing preemption proposals before
giving up.


  src/main/java/org/apache/aurora/scheduler/preemptor/ 7d2903a47dacfc35f9e547ccb6c5896efe3e013f

  src/test/java/org/apache/aurora/scheduler/preemptor/ 40c42b1b3aa63797da8dea61732b49155034fea2



$ ./src/test/sh/org/apache/aurora/e2e/


*** OK (All tests passed) ***

mesos-master start/running, process 12228
+ restore_netrc
+ mv /home/vagrant/.netrc.bak /home/vagrant/.netrc
+ true
Connection to closed.

real	26m20.055s
user	0m1.412s
sys	0m0.705s


Mehrdad Nurolahzade

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message