Mesos goal is to run an abstraction for your cluster, where Hadoop will be just one service among others. For this to work, you first need to configure the Mesos cluster as the main component, and then you can start adding services such as Hadoop to this cluster using the Mesos abstraction.
Mesosphere has a great tutorial that you should take a look at and explains in detail how to run Hadoop on top of Mesos, so this will be a good place to start.
Alternatively, this company has recently started serving Elastic Mesos , which is similar in nature to Amazon Elastic MapReduce. Therefore, if you want to quickly get started with Hadoop on Mesos without the pain of setting everything up, this is a good place to start.
source share