Re: Threading model of mesos API (C++)

2015-06-10 Thread James Vanns
Thanks for the responses, guys. That link of the 'detailed description' will be handy - I've not come across that before. I do now have another question though! Aren't these two a contradiction; Alex; you launch a task, before the method returns (say you do some blocking stuff after, like sync

Re: Threading model of mesos API (C++)

2015-06-10 Thread Alexander Gallego
Jim, Let me prototype something small today. After reading my scheduler (in c++) i do have comments and synchronization on some state vars, but it might have to do with a more complex async code base I manage. I'll get back to you. - alex On Wed, Jun 10, 2015 at 6:15 AM, James Vanns

Re: Can Mesos master offer resources to multiple frameworks simultaneously?

2015-06-10 Thread Alex Rukletsov
I'll try to answer these questions. 1. Currently, the only language you can use is C++. You can workaround this by writing a proxy in c++ that delegates the calls to, say, python scripts. See http://mesos.apache.org/documentation/latest/allocation-module/ for more details. 2. The default

Re: Threading model of mesos API (C++)

2015-06-10 Thread James Vanns
You are a star, Alex. Thank you :) Jim On 10 June 2015 at 15:15, Alexander Gallego agall...@concord.io wrote: Jim, Let me prototype something small today. After reading my scheduler (in c++) i do have comments and synchronization on some state vars, but it might have to do with a more

Re: Debugging framework registration from inside docker

2015-06-10 Thread Steven Schlansker
On Jun 10, 2015, at 10:10 AM, James Vanns jvanns@gmail.com wrote: Hi. When attempting to run my scheduler inside a docker container in --net=bridge mode it never receives acknowledgement or a reply to that request. However, it works fine in --net=host mode. It does not listen on any

Debugging framework registration from inside docker

2015-06-10 Thread James Vanns
Hi. When attempting to run my scheduler inside a docker container in --net=bridge mode it never receives acknowledgement or a reply to that request. However, it works fine in --net=host mode. It does not listen on any port as a service so does not expose any. The scheduler receives the mesos

Apply Now #MesosCon Conference Diversity Scholarship

2015-06-10 Thread Kiersten Gaffney
Hi Mesos friends, We need your help promoting the #MesosCon diversity scholarship. #MesosCon, the annual open source #ApacheMesos developers conference, is now accepting applications for their diversity scholarship. It provides financial assistance for women (cis and trans), genderqueer people,

MesosCon 2015 Lightning Talk CFP now open

2015-06-10 Thread Dave Lester
Good news, everyone: We’ve expanded the MesosCon program (http://mesoscon.org) to add lightning talks: 5-minute presentations for speakers to introduce a project they’re working on, or share an idea related to Mesos. Lightning talks will take place during lunchtime of the conference, which takes

Re: Can Mesos master offer resources to multiple frameworks simultaneously?

2015-06-10 Thread Qian Zhang
Thanks Alex. For 1. I understand currently the only choice is C++. However, as Adam mentioned, true pluggable allocator modules (MESOS-2160 https://issues.apache.org/jira/browse/MESOS-2160) are landing in Mesos 0.23, so at that time, I assume we will have more choices, right? For 2 and 3, my