Re: forcing framework to re-schedule?

2016-09-13 Thread haosdent
Hi, @Victor taskId is specified in `TaskInfo` when you launchTask. On Wed, Sep 14, 2016 at 6:22 AM, Victor L wrote: > how can i get taskId to call "killTask"? > > On Tue, Sep 13, 2016 at 9:59 AM, haosdent wrote: > >> If you want to kill the task from the scheduler, you just need to call >> `kil

Unable to run latest windows mesas-agent

2016-09-13 Thread Rinaldo Digiorgio
Hi, I built a new windows mesas-agent.exe a few minutes ago and I am getting the following error. I don’t think it is a port issue. I0913 18:07:22.359485 12992 slave.cpp:1692] Launching task 'windows-hello-world.83d04669-7a17-11e6-ae4e-0021f6964572' for framework 03b7ca4b-1a97-4044-ba65-9a9245

Re: Unified cgroups isolator

2016-09-13 Thread Qian Zhang
Thanks @haosdent's awesome work and @Jie's great shepherding and guidance on this project! Thanks, Qian Zhang On Wed, Sep 14, 2016 at 7:56 AM, Gilbert Song wrote: > Awesome! > > Kudos to @haosdent and @qianzhang! > > On Tue, Sep 13, 2016 at 11:22 AM, haosdent wrote: > >> Really appreciate @qi

Re: Unified cgroups isolator

2016-09-13 Thread Gilbert Song
Awesome! Kudos to @haosdent and @qianzhang! On Tue, Sep 13, 2016 at 11:22 AM, haosdent wrote: > Really appreciate @qian and @jie's great helps on this! It makes us easier > to add cgroups isolation for rest subsystem. > > Additionally, if you find any changes about unified cgroups isolator brea

Re: forcing framework to re-schedule?

2016-09-13 Thread Victor L
how can i get taskId to call "killTask"? On Tue, Sep 13, 2016 at 9:59 AM, haosdent wrote: > If you want to kill the task from the scheduler, you just need to call > `killTask`(https://github.com/apache/mesos/blob/1.0.x/ > include/mesos/scheduler.hpp#L257). > If you want to kill the task by healt

Re: what is the status on this?

2016-09-13 Thread kant kodali
@Alex Rukletsov I am sorry I took some time to respond. I am very excited since the beginning to have an opportunity to work on this task but I wanted to take my time if I can really commit to the Task and looks I might be able to however I have not contributed to open source before and I would nee

Re: Unified cgroups isolator

2016-09-13 Thread haosdent
Really appreciate @qian and @jie's great helps on this! It makes us easier to add cgroups isolation for rest subsystem. Additionally, if you find any changes about unified cgroups isolator break your environment, please let us know. I would try to fix asap. On Wed, Sep 14, 2016 at 1:59 AM, Jie Yu

Re: Unified cgroups isolator

2016-09-13 Thread Avinash Sridharan
Awesome !! On Tue, Sep 13, 2016 at 10:59 AM, Jie Yu wrote: > Hi, > > We just merged the unified cgroups isolator. Huge shout out to @haosdent > and @qianzhang to make this happen! > https://issues.apache.org/jira/browse/MESOS-4697 > > Just to give you some context. Previously, it's a huge pain

Unified cgroups isolator

2016-09-13 Thread Jie Yu
Hi, We just merged the unified cgroups isolator. Huge shout out to @haosdent and @qianzhang to make this happen! https://issues.apache.org/jira/browse/MESOS-4697 Just to give you some context. Previously, it's a huge pain to add a new cgroups subsystem to Mesos because it requires creating a new

Re: forcing framework to re-schedule?

2016-09-13 Thread haosdent
If you want to kill the task from the scheduler, you just need to call `killTask`( https://github.com/apache/mesos/blob/1.0.x/include/mesos/scheduler.hpp#L257 ). If you want to kill the task by health check, you could try to set the correct `consecutive_failures` number ( https://github.com/apache/