Questions tagged [mesos]

Apache Mesos is a cluster manager that provides an efficient, scalable, and robust way to share resources (CPUs, memory, disk, ports, et.) across frameworks or applications that are distributed across a cluster of machines. Mesos can be thought of as a kernel for the data center that provides a unified view of resources on all nodes and seamless access to these resources.

Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks.

Getting Started

How Does It Work?

Apache Mesos is based on a master-worker relationship, but there are other important components:

  • Mesos workers "own" the resources (CPU, memory, network ports, etc.) being managed by Mesos.
  • The Mesos master is responsible for scheduling and allocating the resources to various frameworks and managing the task life cycle. It is the resource broker.
  • Frameworks - distributed applications that run using the resources Mesos provides (run on top of Mesos). Frameworks require tasks to be performed, and tasks consume resources.
  • Communication - components of Mesos communicate with frameworks over HTTP or an HTTP-like protocol using APIs.
  • Auxiliary resources - these are resources required by, but not managed by, Mesos (e.g., network file system, client connections to services running on Mesos, etc.)

Examples of What Mesos Can Do

Some examples of things that you can do with Mesos:

  • Run a Hadoop cluster (or any frameworks built on top of Hadoop, e.g., Giraph, Hive, etc.) while sharing the resources of the cluster with another framework
  • Run a Spark cluster while sharing the resources of the cluster with another framework
  • Run a NoSQL database cluster (e.g., Hive, Shark, Spark SQL, Cassandra, Hypertable) while sharing the resources of the cluster with another framework
  • Run a real-time data streaming service (e.g., Spark Streaming, Storm)
  • Run elastic YARN clusters (see Myriad)
  • Run a standalone HDFS (see Mesosphere HDFS)

Who Uses Mesos?

Mesos helps power a large number of companies; the Mesos Project maintains a long list of companies using Mesos.

Related Tags

1240 questions
6
votes
2 answers

Understanding resource allocation for spark jobs on mesos

I'm working on a project in Spark, and recently switched from using Spark Standalone to Mesos for cluster management. I now find myself confused about how to allocate resources when submitting a job under the new system. In standalone mode, I was…
moustachio
  • 2,924
  • 3
  • 36
  • 68
6
votes
1 answer

Spark-shell connecting to Mesos stuck at sched.cpp

Below are my spark-defaults.conf and the output of spark-shell $ cat conf/spark-defaults.conf spark.master mesos://172.16.**.***:5050 spark.eventLog.enabled false spark.broadcast.compress …
lyomi
  • 4,230
  • 6
  • 30
  • 39
6
votes
1 answer

How to fix "A protocol message was rejected because it was too big" from Google Protobuf in Spark on Mesos?

I'm running Spark 1.5.1 through Scala code and calling the ALS train method (mllib). My code uses MESOS executor. Since the data is large, I get the following error: 15/11/03 12:53:45 INFO TaskSetManager: Starting task 7.0 in stage 0.0 (TID 7, ,…
Akshaya Shanbhogue
  • 1,438
  • 1
  • 13
  • 25
6
votes
3 answers

Spark Mesos Cluster Mode using Dispatcher

I have only a single machine and want to run spark jobs with mesos cluster mode. It might make more sense to run with a cluster of nodes, but I mainly want to test out mesos first to check if it's able to utilize resources more efficiently (run…
auxdx
  • 2,313
  • 3
  • 21
  • 25
6
votes
1 answer

Running docker containers inside of docker + mesos + marathon

I am running a mesos cluster on my home computer using mesosphere's docker images. Within that mesos cluster, I want to run docker containers using marathon. I have a container that I can run manually on my mesos slave (using 'docker run').…
jeff
  • 4,325
  • 16
  • 27
6
votes
1 answer

How to build mesos on Mavericks

I cloned from git: git clone git://git.apache.org/mesos.git and also had done brew install autoconf automake libtool Then trying to follow the "Getting started" at http://mesos.apache.org/gettingstarted/ And specifically : Only if running…
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
5
votes
1 answer

Custom state store provider for Apache Spark on Mesos

I've written a custom state store and state store provider for Apache Spark 2.3.0 and tried to deploy the job using the additional argument: --conf spark.sql.streaming.stateStore.providerClass=com.sample.state.CustomStateStoreProvider For running…
Alex Chermenin
  • 838
  • 12
  • 24
5
votes
1 answer

How to set up cluster environment for Spark applications on Windows machines?

I have been developing in pyspark with spark standalone non-cluster mode. These days, I would like to explore more on the cluster mode of spark. I searched on the internet, and found I may need a cluster manager to run clusters in different machines…
Yohan Chung
  • 519
  • 1
  • 6
  • 15
5
votes
2 answers

Where to find more explicit errors given container error status codes?

I am actually running tasks through a Mesos stack, which use Docker containers. Sometimes, some tasks are failing. Here are some of the related TaskStatus messages and reasons: message: Container exited with status 1 - reason:…
Axel Borja
  • 3,718
  • 7
  • 36
  • 50
5
votes
1 answer

Why do containers fail to fetch URIs in DC/OS?

I have created a cluster on Digital Ocean (DC/OS 1.9) using terraform following these instructions here Everything seems to have installed correctly, to pull from a private docker repo, I need to add a compressed .docker file to my /core/home/ and…
Dominic Cabral
  • 962
  • 9
  • 21
5
votes
1 answer

Is it possible to make Jenkins create workers from attached clouds faster?

I have an instance of Jenkins that uses the mesos plugin. Nearly all of my jobs get triggered via Mesos tasks. I would like to make worker generation a bit more aggressive. The current issue is that, for the mesos plugin, I have all of the jobs…
K-RAN
  • 896
  • 1
  • 13
  • 26
5
votes
7 answers

Mesos Failed to connect error to IP:5050

I am new to Mesos and just finished setting up mesos and along with zookeeper on my test server. Unfortunately I keep getting this error message on my mesos console indicating i am unable to connect to mesos on port 5050 and can't seem to figure…
crusadecoder
  • 651
  • 1
  • 11
  • 26
5
votes
2 answers

How to set docker run arguments on marathon spec

I have been using docker to run images along with some options like: docker run --net host --oom-kill-disable -d -p : image How do I set values like --oom-kill-disable on marathon?
t6nand
  • 710
  • 1
  • 8
  • 20
5
votes
4 answers

Airflow: When to use CeleryExecutor and when to use MesosExecutor

I am pretty new to Airflow and trying to understand how should we set it up in our environment(on aws). I read the Airflow uses Celery with redis broker. How is it different from Mesos? I have not used Celery before but I tried to set up…
Roger
  • 2,823
  • 3
  • 25
  • 32
5
votes
2 answers

Mesos slaves reject all Marathon jobs with persistent volumes; claims no space available

I'm trying to use the persistent volumes support for Mesos, and am having a tremendously difficult time getting it to work. I've configured each of my slaves, as follows, and have confirmed that they've successfully rebooted using this new…
Tim Harper
  • 2,561
  • 20
  • 23