A python notebook to experiment with the Apache Mesos HTTP API – Part 3 of 3

This is the third and final part of a three-part series: Part 1 describes the required setup and how to get Apache Mesos Master and Agent running in two Vagrant VMs; Part 2 shows how to connect to the HTTP API and accept resource offers. This series is an extended (and updated) version of the … More A python notebook to experiment with the Apache Mesos HTTP API – Part 3 of 3

A python notebook to experiment with the Apache Mesos HTTP API – Part 2 of 3

This is the second part of a three-part series: Part 1 describes the required setup and how to get Apache Mesos Master and Agent running in two Vagrant VMs This series is an extended (and updated) version of the talk I gave at MesosCon Europe 2015 updated for Apache Mesos 1.0.0, which has just been … More A python notebook to experiment with the Apache Mesos HTTP API – Part 2 of 3

A python notebook to experiment with the Apache Mesos HTTP API – Part 1 of 3

This is the first of a series of three articles that shows how to setup a Vagrant-based Apache Mesos test/development environment on your laptop; then how to run a Python notebook against the HTTP API; and finally, how to launch Docker containers on the running Agent VM. It is pretty jam-packed and requires a certain … More A python notebook to experiment with the Apache Mesos HTTP API – Part 1 of 3

Apache Mesos HTTP API – example IPython notebook

The new Apache Mesos HTTP API We are currently in the process of releasing Mesos 0.24 which introduces a new HTTP API for Frameworks, which are now able to interact with the Scheduler using only JSON payloads. This simplifies the interaction between Frameworks and Mesos, while maintaining the highly scalable and reliable nature of the platform: … More Apache Mesos HTTP API – example IPython notebook

libprocess – an Actor-based inter-process communication library

Introduction to libprocess In Apache Mesos we make heavy use of the Actor model implemented in the libprocess library: the most recent implementation can be found under the 3rdparty folder in the Mesos repository (here). libprocess was created originally at Berkley by Benjamin Hindman who is also the original creator of Mesos and implements “an … More libprocess – an Actor-based inter-process communication library

Annoying Java Popup when Testing Apache Mesos

Running unit tests for Apache Mesos, enabling Java (i.e., omitting the –disable-java flag in configure) you may run into the annoying “You need to install Java” popup, even though you have Java 8 correctly installed. The only workaround I’ve found so far (until I locate where in the test scripts we invoke the wrong version … More Annoying Java Popup when Testing Apache Mesos

Using Stout to parse command-line options

A new post of mine has just been published on Mesosphere Blog: Almost every program needs to parse some form of command-line argument. Often, this is a pretty large set of possible options, and the management of the various options is usually pretty tedious while adding virtually no value to the program’s functionality. Google’s gflags … More Using Stout to parse command-line options