Just to satisfy my curiosity, why is it important for there to be no other
mesos executors running on the hosts? Is this due of a lack of a particular
kind of isolation? (I'd like to understand this requirement better, as with
proper isolation it should not be necessary).

Yes, you can use reservations to do this, however, at the current time
there is no dynamic mechanism for changing reservations. You can start a
slave reserving all the resources for your test suite framework, but the
reservation will live for the entire lifetime of the slave.


On Mon, Oct 21, 2013 at 11:56 PM, Cosmo King <[email protected]> wrote:

> Hi all,
>
> I'm building a framework to execute short or long-running test suites
> against a mesos cluster, and one of my goals is to discover a set of
> available nodes and reserve these for a specific test suite and not release
> them until test execution is complete. The test execution may consist of
> hundreds of separate remote command executions by different processes
> (these might be achieved through multiple mesos task submissions). Once
> reserved, it's important that no other mesos jobs execute on those
> particular hosts.
>
> I have heard mention of a new resource reservation feature in mesos.  Is
> this type of use case possible with resource reservation, and are there any
> hints as to how to implement it?
>
> I'm using a custom framework based loosely on the original mesos_submit.py
> and test_framework.py.  I have basic scheduler and executor functionality
> working well, but I would like a way to dedicate a set of resources from
> start to finish.
>
> If i have to use another language to achieve the reservation, that is fine.
>
> Any suggestions?
>
> Thanks!
> Cosmo

Reply via email to