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
123
votes
11 answers

Can Apache Spark run without Hadoop?

Are there any dependencies between Spark and Hadoop? If not, are there any features I'll miss when I run Spark without Hadoop?
tourist
  • 4,165
  • 6
  • 25
  • 47
86
votes
4 answers

make -j 8 g++: internal compiler error: Killed (program cc1plus)

When I deploy Apache Mesos on Ubuntu12.04, I follow the official document, in step "make -j 8" I'm getting this error in the console: g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if…
pugna
  • 1,033
  • 2
  • 8
  • 6
81
votes
4 answers

Which cluster type should I choose for Spark?

I am new to Apache Spark, and I just learned that Spark supports three types of cluster: Standalone - meaning Spark will manage its own cluster YARN - using Hadoop's YARN resource manager Mesos - Apache's dedicated resource manager project I think…
David S.
  • 10,578
  • 12
  • 62
  • 104
49
votes
4 answers

Marathon vs Aurora and their purposes

Both Marathon and Aurora are built on Mesos and supposedly are engineered for running long running services. My questions are: What are their differences? I have struggled in finding any good explanations regarding their key differences Do these…
user1340582
  • 19,151
  • 35
  • 115
  • 171
42
votes
1 answer

What does Apache Mesos actually do?

I am trying to wrap my head around Apache Mesos and need clarification on a few items. My understanding of Mesos is that it is an executable that gets installed on every physical/VM server ("node") in a cluster, and then provides a Java API…
smeeb
  • 27,777
  • 57
  • 250
  • 447
35
votes
1 answer

Persistent storage for Apache Mesos

Recently I've discovered such a thing as a Apache Mesos. It all looks amazingly in all that demos and examples. I could easily imagine how one would run for stateless jobs - that fits to the whole idea naturally. Bot how to deal with long running…
Carlos Castellanos
  • 2,358
  • 4
  • 25
  • 43
24
votes
5 answers

What's difference between Apache Mesos, Mesosphere and DCOS?

Looks to me that Apache Mesos is a distributed systems kernel, and Mesosphere is something Linux distribution based on Apache Mesos. For example, its like Linux Kernel(Apache Mesos) and Ubuntu(Mesosphere). Am I right about this? and DCOS is a free…
Sato
  • 8,192
  • 17
  • 60
  • 115
24
votes
3 answers

Apache Mesos Schedulers and Executors by example

I am trying to understand how the various components of Mesos work together, and found this excellent tutorial that contains the following architectural overview: I have a few concerns about this that aren't made clear (either in the article or in…
smeeb
  • 27,777
  • 57
  • 250
  • 447
23
votes
3 answers

Standalone Manager Vs. Yarn Vs. Mesos

On 3 node Spark/Hadoop cluster which scheduler(Manager) will work efficiently? Currently I am using Standalone Manager, but for each spark job I have to explicitly specify all resource parameters(e.g: cores,memory etc),which I want to avoid. I have…
Abhinandan Satpute
  • 2,558
  • 6
  • 25
  • 43
22
votes
1 answer

What does Apache Mesos do that Kubernetes can't do and vice-versa?

What does Apache Mesos do that Kubernetes can't do or vice-versa? Mesos is a Two level scheduler. Sure it grabs resource information from every machine and gives it to the top level scheduler such that frameworks like kubernetes can use to schedule…
user1870400
  • 6,028
  • 13
  • 54
  • 115
20
votes
1 answer

Linked Docker Containers with Mesos/Marathon

I'm having great success so far using Mesos, Marathon, and Docker to manage a fleet of servers, and the containers I'm placing on them. However, I'd now like to go a bit further and start doing things like automatically linking an haproxy container…
William Thurston
  • 405
  • 4
  • 11
19
votes
4 answers

Transport Endpoint Not Connected - Mesos Slave / Master

I'm trying to connect a Mesos slave to its master. Whenver the slave tries to connect to the master, I get the following message: I0806 16:39:59.090845 935 hierarchical.hpp:528] Added slave 20150806-163941-1027506442-5050-921-S3 (debian) with…
benjamin.d
  • 2,801
  • 3
  • 23
  • 35
17
votes
1 answer

Can Mesos 'master' and 'slave' nodes be deployed on the same machines?

Can Apache Mesos 'master' nodes be co-located on the same machine as Mesos 'slave' nodes? Similarly (for high-availability (HA) deploys), can the Apache Zookeeper nodes used in Mesos 'master' election be deployed on the same machines as Mesos…
Ethan
  • 9,558
  • 5
  • 27
  • 24
16
votes
6 answers

Recovering from Consul "No Cluster leader" state

I have: one mesos-master in which I configured a consul server; one mesos-slave in which I configure consul client, and; one bootstrap server for consul. When I hit start I am seeing the following error: 2016/04/21 19:31:31 [ERR] agent: failed to…
deen
  • 2,185
  • 7
  • 29
  • 53
13
votes
1 answer

Kill a single spark task

I have a very long Spark job, from which a small number of tasks are currently stalled. Is there any way to kill those stalled tasks from the driver node? For permission reasons I can log in, but not kill the jobs on the slave nodes, so I'm looking…
nbubis
  • 2,304
  • 5
  • 31
  • 46
1
2 3
82 83