Installing mesos

From ImageWiki

(Difference between revisions)
Jump to: navigation, search
(Building Mesos)
(Installing the prerequisites)
Line 14: Line 14:
  sudo zypper install autoconf
  sudo zypper install autoconf
  sudo zypper install libtool
  sudo zypper install libtool
 +
sudo zypper install git
====Status====
====Status====

Revision as of 14:33, 13 March 2014

Contents

Getting Mesos

Download the lastest version of Mesos and follow the instructions on Mesos getting started.

Our current installation uses Mesos 0.16.0.

Installing the prerequisites

sudo zypper refresh
sudo zypper install java-1_7_0-openjdk-devel
sudo zypper install python-devel
sudo zypper install libcurl-devel
sudo zypper install zlib-devel
sudo zypper install libopenssl-devel
sudo zypper install cyrus-sasl-devel
sudo zypper install autoconf
sudo zypper install libtool
sudo zypper install git

Status

Currently only installed on compute01-diku-image.

Building Mesos

# Select Java SDK
export JAVA_HOME=/usr/lib64/jvm/java
# Configure and build.
mkdir build
cd build
../configure 
make -j 32
# Run test suite.
make -j check
# Install (***Optional***).
make install

Testing

# Change into build directory.
$ cd build
# Start mesos master.
$ ./bin/mesos-master.sh --ip=127.0.0.1
# Start mesos slave.
$ ./bin/mesos-slave.sh --master=127.0.0.1:5050
# Visit the mesos web page.
$ http://127.0.0.1:5050
# Run C++ framework (***Exits after successfully running some tasks.***).
$ ./src/test-framework --master=127.0.0.1:5050
# Run Java framework (***Exits after successfully running some tasks.***).
$ ./src/examples/java/test-framework 127.0.0.1:5050
# Run Python framework (***Exits after successfully running some tasks.***).
$ ./src/examples/python/test-framework 127.0.0.1:5050
Personal tools