Re: forcing framework to re-schedule?

2016-09-12 Thread Victor L
It checks if process is functional. I don't think standard healthchecks wouldn't be sufficient for my purpose and my question still stands: how to use result... On Mon, Sep 12, 2016 at 1:48 PM, haosdent wrote: > Hi, @victor What's your health check agent used for? Because

Re: forcing framework to re-schedule?

2016-09-12 Thread haosdent
Hi, @victor What's your health check agent used for? Because Mesos supports health checks now. On Tue, Sep 13, 2016 at 1:46 AM, Victor L wrote: > Hello, > I am writing "healthcheck agent" for mesos deployment framework as > independent thread periodically checking if main

Re: forcing framework to re-schedule?

2016-09-12 Thread haosdent
If the target you perform health check is your task, Mesos support health check by a command. When your task reaches the health task failure limit, the task would be killed and then your framework could launch the task again when receives the `TASK_KILLED` in `statusUpdate`. On Tue, Sep 13, 2016

forcing framework to re-schedule?

2016-09-12 Thread Victor L
Hello, I am writing "healthcheck agent" for mesos deployment framework as independent thread periodically checking if main process ( started by framework) is running... What would be the mechanism to "communicate" failure to the framework to cause specific outcome? For example: how can i use

Re: forcing framework to re-schedule?

2016-09-12 Thread Victor L
How can i explicitly kill the task from my class? On Mon, Sep 12, 2016 at 2:10 PM, haosdent wrote: > If the target you perform health check is your task, Mesos support health > check by a command. When your task reaches the health task failure limit, > the task would be

Setting log path for mesos java client library

2016-09-12 Thread Wil Yegelwel
I’m trying to set the log path (and later the log format) for the mesos java lib. From the docs in http://mesos.apache.org/api/latest/java/org/apache/mesos/MesosSchedulerDriver.html it appears I need to set the correct GLOG environment variable in order to get this to work, but I can’t seem to get

Re: Setting log path for mesos java client library

2016-09-12 Thread Vinod Kone
Looks like Mesos logging flags for these override the corresponding GLOG related flags.

GPU containerizer post mortem

2016-09-12 Thread Justin Pinkul
Hi everyone, I just ran into a very subtle configuration problem with enabling GPU support on Mesos and thought I'd share a brief post mortem. Scenario:Running a GPU Mesos task. This task first executes nvidia-smi to confirm the GPUs are visible and then executes a Caffe training example to