Re: Threading in (Java) Scheduler

2015-08-05 Thread Vinod Kone
That should be fine. On Wed, Aug 5, 2015 at 9:18 PM, Ashwin Jayaprakash < ashwin.jayaprak...@gmail.com> wrote: > Hello, > > Is it safe for a Scheduler implementation to spawn a new thread and > periodically call "SchedulerDriver.sendFrameworkMessage(..)"? > > I know that MesosSchedulerDriver Java

Threading in (Java) Scheduler

2015-08-05 Thread Ashwin Jayaprakash
Hello, Is it safe for a Scheduler implementation to spawn a new thread and periodically call "SchedulerDriver.sendFrameworkMessage(..)"? I know that MesosSchedulerDriver JavaDoc does says that it is thread safe, but does it mean that it is safe to do what I've mentioned above? Thanks, Ashwin.

Re: How does Mesos Debian packaging work?

2015-08-05 Thread CCAAT
On 08/05/2015 03:04 AM, Tomas Barton wrote: Some dependencies ended up in the script historically, others are added incrementally (like libsvn1 is required since 0.21). libunwind* could be removed, the libcurl-dev dependency can't be removed. You can easily check this with ldd: $ ldd /usr/lib/li

Re: Mesos release schedules

2015-08-05 Thread CCAAT
On 08/05/2015 01:38 PM, Vinod Kone wrote: Hi James, The next release of Mesos is going to be 0.24.0. The 1.0 release might be 0.25.0 or 0.26.0 depending on the progress we make with the HTTP API. Good to know. Either way, it looks like a ~fall 2015 for a 1.0 release of Mesos? Because we us

Re: Troubles with slave recovery via Docker containerizer on 0.23.0

2015-08-05 Thread Tim Chen
Hi Ben, Did you get the command from docker inspect or from the slave log? If it's from the slave log then we don't actually print out the exact way we exec the command, but just joining the exec arguments with a space in between. What's the exact error in the slave/sandbox stderr log? Tim On

Troubles with slave recovery via Docker containerizer on 0.23.0

2015-08-05 Thread Benjamin Anderson
Hi there - I'm working on setting up a Mesos environment with the Docker containerizer and can't seem to get the recovery feature working. I'm running CoreOS, so the slave processes themselves are containerized. I have no issues running jobs without the recovery features enabled, but all jobs fail

Re: Apache Mesos Community Sync

2015-08-05 Thread Vinod Kone
We'll have the next community sync tomorrow at 3 PM PST. Please add items to agenda . Thanks, On Thu, Jul 2, 2015 at 11:24 AM, Joris Van Remoortere wrote: > Reminder: The Mesos Communi

Re: Mesos release schedules

2015-08-05 Thread Vinod Kone
Hi James, The next release of Mesos is going to be 0.24.0. The 1.0 release might be 0.25.0 or 0.26.0 depending on the progress we make with the HTTP API. Because we use "Fix Version" and "Target Version" in a customized way, the link you sent doesn't capture the blocking issues. I'll update the r

Re: How does Mesos Debian packaging work?

2015-08-05 Thread Cody Maloney
The Mesosphere packages use mesos-deb-packaging to build them, currently at commit 4897858c4d93d3c6be1cad23bdea40c13d60e3bc. The only additional piece that is added is some wrapper scripts to spin up AWS machines, install the necessary dependencies, then run the build in those VMs, then do a basic

Re: Mesos-DNS host based HTTP-redirection from slave to container

2015-08-05 Thread Itamar Ostricher
what do you mean "only scales to one host"? I have multiple slaves, and I plan to run it on every slave as a service (just like the mesos slave service itself), probably outside of marathon. On Wed, Aug 5, 2015 at 7:26 PM Shafay Latif wrote: > But this nginx reverse proxy for docker only scales

RE: Mesos-DNS host based HTTP-redirection from slave to container

2015-08-05 Thread David Kesler
We’ve been using Qubit’s Bamboo for the last few months without too many issues, though we had to heavily customize the haproxy config template to behave the way we wanted. I’ve also heard good things about https://github.com/hashicorp/consul-template which seems more powerful and flexible, bu

Re: Mesos-DNS host based HTTP-redirection from slave to container

2015-08-05 Thread Shafay Latif
But this nginx reverse proxy for docker only scales to one host. Can someone confirm if it has worked for multiple slaves? What is the most common engine everyone uses for load balancing an app with multiple tasks/docker containers? Shafay Latif On Aug 3, 2015, at 9:44 AM, Itamar Ostricher wr

Mesos release schedules

2015-08-05 Thread CCAAT
Hello, Looking here:: [1] It seems we have a very aggressive (tentative) release schedule for mesos-1.0 ? Anyone care to approximate (WAG wild_ax_guess) a date for mesos-1.0? Or will there be other versions after 0.25.0 of mesos? mesos-0.24 just shows one bug (51/52) as unresolved. Jir

Re: Docker on Marathon 0.9.0 on Mesos 0.23.0

2015-08-05 Thread John Omernik
So I think I must be running into the same thing as: https://github.com/mesosphere/kubernetes-mesos/issues/127 Basically, cat /etc/ld.so.conf.d/libc.conf does have the correct /usr/local/lib in it, but until I run (after a reboot) sudo ldconfig, my docker executor doesn't like it. Not sure why i

Re: Docker on Marathon 0.9.0 on Mesos 0.23.0

2015-08-05 Thread John Omernik
I am running it after make install on every node. Interesting. the mesos-docker-executor is built with Mesos right? Like I said, I changed two things, the Marathon version and the Docker version. I am calling mesos with the command below, to ensure that the mesos lib files are known the mesos. So

Re: Change DOCKER_HOST for Mesos slave

2015-08-05 Thread Andrii Loshkovskyi
Hello, Tim, sorry, not sure I understand. I should have mentioned that I use a Mesos package from Mesosphere. I created the drop-in snippet docker.conf to avoid editing the systemd unit file provided by the package. I checked out their package and it looks like they didn't add anything specific to

Re: Get List of Active Slaves

2015-08-05 Thread craig w
If the information is going to be in Zookeeper, you could setup one of the REST frontends and query Zookeeper over HTTP (check the zookeeper src/contrib directory). On Aug 5, 2015 1:26 AM, "Marco Massenzio" wrote: > Now that Mesos (0.24, to be released soon) publishes the Master info to > ZooKeep

Re: How does Mesos Debian packaging work?

2015-08-05 Thread Tomas Barton
Some dependencies ended up in the script historically, others are added incrementally (like libsvn1 is required since 0.21). libunwind* could be removed, the libcurl-dev dependency can't be removed. You can easily check this with ldd: $ ldd /usr/lib/libmesos-0.22.1.so ... libapr-1

Announcing MesosCon Europe. CFP and Early-Bird Registration Now Open

2015-08-05 Thread Dave Lester
We just went live with a blog post[1] drafted by Michael Hausenblas announcing MesosCon Europe[2], a European conference for the Apache Mesos community. The inaugural MesosCon EU will take place in Dublin October 8-9, 2015 and both the CFP and early-bird registration are now open. Help us get the