RE: GPU without root?

2017-08-07 Thread Milovanov, Victor
I was able to get the desired result by simply passing --resources=’gpus:1’ // Victor From: Milovanov, Victor Sent: Monday, August 7, 2017 3:03 PM To: user@mesos.apache.org Subject: GPU without root? Hi! I’d like to know if it is possible

[Design Doc] Standalone Container API

2017-08-07 Thread Joseph Wu
As part of work to improve storage support in Mesos [1], we will be adding the ability to launch containers via the Mesos Containerizer, without going through the traditional method (i.e. framework -> offer cycle -> launch executor/task -> status updates -> etc). Below I've linked a short design

GPU without root?

2017-08-07 Thread Milovanov, Victor
Hi! I’d like to know if it is possible to use GPU resources with Mesos agent without running it as root? The official documentation states, that isolation must be enabled for at least gpu/NVidia, which currently requires root. However, my scenario does not need isolation. // Victor

Re: Custom isolators - External container

2017-08-07 Thread Thodoris Zois
Hello, Thank you for your response, i will use the Mesos containerizer and run docker images as tasks, so i will use cgroups/cpu and cgroups/mem for isolation in order to get some results so i can compare them when in case i use my own isolators. Isolation module will work right? Because of

Re: Custom isolators - External container

2017-08-07 Thread Joseph Wu
First off, the external containerizer was officially removed in Mesos 1.1.0 (it had been deprecated long before that release): https://issues.apache.org/jira/browse/MESOS-3370 --- If you want to develop/deploy a new isolation method for Mesos, you should first consider writing isolator modules

Re: Command Executor

2017-08-07 Thread James Peach
> On Aug 5, 2017, at 3:03 AM, Oeg Bizz wrote: > > I have a framework that relies on information sent by a custom Java Command > Executor; think of some sort of heartbeat. I start getting hearbeats after I > send a task to that mesos-slave, but never before that. That

Re: Command Executor

2017-08-07 Thread Oeg Bizz
I sent this over the weekend so I can see how it would have been missed, does anyone have a suggestion? I have a framework that relies on information sent by a custom Java Command Executor; think of some sort of heartbeat.  I start getting hearbeats after I send a task to that mesos-slave, but