Hey Mohit,

The primitives within Mesos to support preemption across frameworks are not
there yet, but most definitely an important feature to support and think a
lot of people would love to see something like this in the near future.

Preemption ties into more use-cases (for example optimistic resource
offers, over-subscription and slot reservation for batch/gang scheduled
jobs) and it'd be great to start a conversation about this topic on Jira.
The closest ticket I could find is
https://issues.apache.org/jira/browse/MESOS-155 - maybe someone can jump in
if there is a more relevant one out already. If not, let us start one.

Cheers,
Niklas



On Wed, Apr 16, 2014 at 9:18 PM, mohit soni <[email protected]> wrote:

> Going with the philosophy of Mesos as the datacenter OS, I am curious to
> know how folks with Mesos installations manages task preemptions across
> multiple frameworks.
>
> Consider a simplified hypothetical setup which comprises of a mesos
> cluster, running Aurora and Hadoop as frameworks. Also, let's assume that
> Aurora is used to start services that serves live traffic and affects
> site-availability. Also, Hadoop runs offline tasks that doesn't affect
> site-availability directly. Now, in event of a traffic spike, Hadoop tasks
> can be pre-empted, so that the released capacity can now be used by Aurora
> to spawn additional service instances.
>
> Some observations here:
>
>    - Aurora and Hadoop are two different frameworks, one cannot preempt
>    other framework's task.
>    - There's no notion of task priorities built into mesos, as mesos
>    pushes scheduling concerns to framework schedulers.
>    - Mesos doesn't have a view into framework's backlog.
>
> It would be great if folks can share how they deal with these situations.
>
> --
> Mohit
>



-- 
Niklas

Reply via email to