mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yashwanth Nannapaneni <>
Subject Suggestions After Building and Running Mesos for the First Time
Date Fri, 09 Aug 2013 22:04:21 GMT

I am Yashwanth, an intern working with Bill at Twitter. I set up mesos on
my computer, running Ubuntu 13.04, from scratch using the instruction on
the website and I found a few
errors in the instructions.  I will be submitting a review for things in
the repository, but couldn’t find the sources for the website to modify
them directly.

The Errors with the Initial Build:Building mesos from Ubuntu 13.04


Nice-to-have: instructions for Debian-based distributions (apt-get rather
than yum).

Satisfying prerequisites in Ubuntupython26-devel

$ sudo apt-get python2.6-dev

libz for libcurl


We need libz for libcurl; you can avoid this with --without-curl, but it
will mean executor and task resources cannot be downloaded over http.


$ sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev


$ sudo apt-get install libcppunit-dev

Downloading MesosCloning from repository


The git clone command returns:

Fatal: Could not read from remote repository.

Please make sure you have the correct access rights


$ git clone git://

Running tar.gz
Running make


src/base/ In function ‘void ListerThread(ListerParams*)’:

src/base/ error: invalid conversion from ‘void
(*)(int, siginfo_t*, void*)’ to ‘void (*)(int, siginfo*, void*)’

No Fix
Running From git repository git://


Autoreconf may not be installed.


$ sudo apt-get install autoconf

Error: Libtool library used but `LIBTOOL' is undefined   The usual way to define `LIBTOOL' is to add `LT_INIT'   to `' and run `aclocal' and `autoconf' again.   If `LT_INIT' is in `', make sure   its definition is in aclocal's search path.

autoreconf: automake failed with exit status: 1


$ sudo apt-get update && sudo apt-get install autotools-dev libltdl-dev
libtool autoconf autopoint

Fix found at

Running Example Frameworks and Testing BuildLaunching a slave


$ bin/ --master=

The above command assumes the local IP is  ‘localhost’ is more
Running C++ Test Framework


Command  $ src/test-framework

doesn’t work

*** Error only for C++ example. Java and Python examples work fine.


Change command to

$ src/test-framework --master=localhost:5050

Bill also had me create a framework from scratch using the documentation
provided and I have a few suggestions that would help make understanding
mesos easier.
Suggestions: Suggestion 1

As I was going through the API and the examples none of the Objects were
clearly explained. A link or a path to the meso.proto file and an
explanation detailing how it works would make understanding the mesos code
a lot easier.
Suggestion 2

Understanding the examples was difficult at first, since it was the first
time I was looking at how mesos worked. An explanation after every few
chunks of code would make the learning process a lot easier.

Other than that I felt like the documentation was really well done, and I
learned a lot from it.

Finally I have some suggestions for the website.
Website SuggestionsSuggestion 1

The contribution guidelines link on to the guidelines markdown
page in the incubator repository, and at
a specific SHA.  It would be best to use the non-incubator page at master:
Suggestion 2

The contribution guidelines describe a manual ReviewBoard creation, but the
developers actually use support/  Updating the guidelines
to match the developer workflow would be nice.

Overall it was a nice experience learning about mesos. Thank You.

~Yashwanth Nannapaneni

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message