Re: Framework change role

2017-07-07 Thread Thodoris Zois
Thank you very much! I will read everything! > On 5 Jul 2017, at 19:04, Gabriel Hartmann wrote: > > * 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/sched

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

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 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: 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 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
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-04 Thread Jay Guo
Hi Thodoris, If I understand correctly, you would like your framework to receive offers from both 'role' and '*', so resources reserved to 'role' on particular agent could be reliably supplied to the framework? Isn't it sufficient to start your framework with multiple roles, 'role' & '*'? You need

Re: Framework change role

2017-07-04 Thread Thodoris Zois
I have built a Framework in Java that is running certain tasks. I would like to run those tasks on a specific agent. I have set a role to the Framework and used flags upon starting of the agent. Till here everything is good. When framework has run tasks successfully i am not terminating it. I wo

Re: Framework change role

2017-07-04 Thread Michael Park
What is it that you need help with? On Tue, Jul 4, 2017 at 11:12 AM Thodoris Zois wrote: > Hello list, > > Is anybody available to help me with the new feature of 1.3.0 version, > that a framework can modify its role? > > Thank you

Framework change role

2017-07-04 Thread Thodoris Zois
Hello list, Is anybody available to help me with the new feature of 1.3.0 version, that a framework can modify its role? Thank you