Re: Framework change role

2017-07-05 Thread Thodoris Zois
Hi, No, i would like my framework to be offered resources from agent with role (e.g: thz) and after running the specific tasks change its role to (*) in order to get offers from different agents, but it will run the same tasks because i am never terminating the scheduler driver (that’s what i

Re: Framework change role

2017-07-05 Thread James Peach
> On Jul 5, 2017, at 12:54 AM, Thodoris Zois wrote: > > Hi, > > No, i would like my framework to be offered resources from agent with role > (e.g: thz) and after running the specific tasks change its role to (*) in > order to get offers from different agents, but it will run the same tasks

Re: Framework change role

2017-07-05 Thread Thodoris Zois
Ok, probably you are right but what you don’t understand is that i am a completely newbie and i see such systems for the first time. It’s about a university project that i am working on in order to get my bachelor degree. I don’t really know the proper way to express what i want to like you do.

Re: Framework change role

2017-07-05 Thread James Peach
> On Jul 5, 2017, at 2:39 AM, Thodoris Zois wrote: > > Ok, probably you are right but what you don’t understand is that i am a > completely newbie and i see such systems for the first time. It’s about a > university project that i am working on in order to get my bachelor degree. I > don’t re

Re: Dynamic reservations without a principal

2017-07-05 Thread James Peach
> On Jul 4, 2017, at 5:27 PM, Srikanth Viswanathan wrote: > > Hi folks, > > I am trying to have the Chronos framework consume dynamic reservations in > Mesos. However, it appears that Chronos is unable to do this because it does > not pass the framework principal to Mesos when launching tasks

Re: How to detemine Mesos Capabilities?

2017-07-05 Thread Tomek Janiszewski
Here is the context of this problem https://github.com/mesosphere/marathon/pull/5406#discussion_r125454193 I want to backport support for Mesos HealthChecks to Marathon 1.3. How can I ensure that Mesos supports HTTP/TCP healthchecks form Marathon perspective? wt., 4 lip 2017 o 17:56 użytkownik Tom

Re: How to detemine Mesos Capabilities?

2017-07-05 Thread Vinod Kone
When a scheduler registers or re-registers with the master, `MasterInfo` is provided as the callback. This includes the version information which can be used to determine which capabilities a Master has. This is admittedly not great; there is a ticket to introduce Master capabilities and include th

Re: Framework change role

2017-07-05 Thread Gabriel Hartmann
You may register in multiple roles simultaneously. Register with the MULTI_ROLE capability ( https://github.com/apache/mesos/blob/master/include/mesos/mesos.proto#L345). Our frameworks all register with a role, but never the role '*'. We get Offers from all agents that don't have statically parti

Re: Framework change role

2017-07-05 Thread Gabriel Hartmann
* Maybe have a look at the DefaultScheduler there as well, if you're just trying to get things building and off the ground ( https://github.com/mesosphere/dcos-commons/blob/master/sdk/scheduler/src/main/java/com/mesosphere/sdk/scheduler/DefaultScheduler.java#L53 ). On Wed, Jul 5, 2017 at 9:03 AM G