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 want to). Don’t try to 
find logic, it’s not for a company or something :)

Thank you,
Thodoris

> On 5 Jul 2017, at 05:36, Jay Guo <[email protected]> wrote:
> 
> 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 to enable the 
> capability.
> 
> - J
> 
> On Wed, Jul 5, 2017 at 7:28 AM, Thodoris Zois <[email protected] 
> <mailto:[email protected]>> wrote:
> 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 would like to 
> change its role to default (*) and get offered resources from master that 
> correspond to that role and it will run again the same amount of tasks (and 
> the same tasks) because i never terminated (and i don't want to terminate its 
> instance because i keep some mesos metrics to a static TreeMap). That's all.. 
> I just wanted somebody to explain me exactly how it works and what i have to 
> do because everything i have tried today fails, and seems i can't find useful 
> info on the Internet about this. 
> 
> Thank you!
> 
> On 4 Jul 2017, at 21:00, Michael Park <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> What is it that you need help with?
>> 
>> On Tue, Jul 4, 2017 at 11:12 AM Thodoris Zois <[email protected] 
>> <mailto:[email protected]>> 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
> 

Reply via email to