Hi,

Maybe someone can help me with a problem I'm having. Short version of the
question is:
Is it possible to use dynamic reservation on statically reserved Mesos
agents?

The current situation is that we have Mesos cluster which runs many
frameworks (aurora, spark, cassandra) and we are developing a custom
framework for stateful tasks. Our framework manages stateful tasks for many
users. Currently we statically reserved our hardware which has good disks
only to be used by our framework (via --resources flag on Mesos Agents).

The problem we are facing is that if one stateful task fails we would like
to relaunch it on the same host with the same port, cpu, disk and memory.
With dynamic reservations we would put a label with task id on a
reservation and on failure would just simply reuse the reserved offer.
On the other hand with statically reserved Mesos agents we cannot put any
labels and so we cannot distinguish offers which should have been reserved
for a task and a new offer.
This leaves us in the situation that if one stateful task fails and there
are new stateful tasks, the new tasks can be scheduled on failed task's
Mesos agent, filling it up and taking it's port, cpu and memory.


-- 
Regards
Povilas Versockas

Reply via email to