O'Reilly logo

Apache Mesos Essentials by Dharmesh Kakadia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Hadoop on Mesos

Hadoop on Mesos (https://github.com/mesos/hadoop) relies on the extension to Mesos, such as the Mesos executor to execute TaskTrackers and Hadoop JobTracker Mesos Scheduler to run Hadoop on a Mesos framework. We will run Hadoop 1.x on Mesos:

  1. Install and run Mesos by following the instructions in Chapter 1, Running Mesos.
  2. We need to compile Hadoop on the Mesos library. Hadoop on Mesos uses Maven to manage dependencies, which we will need to install along with Java and Git:
    ubuntu@master:~ $ sudo apt-get install maven openjdk-7-jdk git
  3. Let's clone Hadoop on the Mesos source code from https://github.com/mesos/hadoop, and navigate to it using the following command:
    ubuntu@master:~ $ git clone https://github.com/mesos/hadoop/ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required