Coder Social home page Coder Social logo

mih's Introduction

MIH (Mesos-in-Hadoop) lets you launch a Mesos cluster as a Hadoop job, for
example to easily experiment with Mesos frameworks like Spark on an existing
Hadoop cluster.

MIH requires Hadoop 0.20.203 or later. It should also work with the Cloudera
distribution of Hadoop version 3 or later. On older Hadoops (e.g. 0.20.2),
MIH will run but Hadoop does not properly clean up processes spawned by a job
when the job finishes, so you risk having processes left on the nodes.

To build MIH, export HADOOP_HOME=<path to your Hadoop directory> and run make.

To run, export MESOS_HOME=<location where you installed Mesos on the slaves>
and use HADOOP_HOME/bin/hadoop mih.jar <number of slots>.

MIH will acquire the given number of slots from Hadoop (as a set of long
running map tasks) and launch a Mesos cluster inside them, then print out
the master URL for that cluster. To stop the cluster, kill the corresponding
Hadoop job with HADOOP_HOME/bin/hadoop job -kill.

You can also provide a second argument to mih.jar for the memory to use per
slot (in megabytes). By default, it's 1024 MB.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.