Re: Executor Resource Requirements

2015-06-17 Thread Benjamin Mahler
The offer will contain the running executors on that slave: https://github.com/apache/mesos/blob/0.22.1/include/mesos/mesos.proto#L619 However, there are a few bugs to note if you're planning to use this in any kind of production setup: (1) If an executor exits, or a new one is started, we won't

Re: Executor Resource Requirements

2015-06-17 Thread Vinod Kone
On Wed, Jun 17, 2015 at 12:19 PM, Christopher Ketchum wrote: > My question is, is there an easy way to know if there is an executor > currently running on a slave? It seems like we want to treat offers > differently depending on wether the executor is already taken into account, > but how can we

Executor Resource Requirements

2015-06-17 Thread Christopher Ketchum
Hi, I am working on a framework for mesos, and I have a question about resource offers and executor resource requirements. We are using a long-lived executor, and one executor per slave. When the master re-offers a slave’s resources to the framework, and that slave already has an executor