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
5
votes
4 answers

Docker and service clusters

We are looking into using Docker plus either Mesos/Marathon or Kubernetes for hosting a cluster. However, the one issue that we haven't really seen any answers for is how to allow clustered services to connect to each other correctly. All of the…
blockcipher
  • 2,144
  • 4
  • 22
  • 35
5
votes
3 answers

Mesos, Marathon, the cloud and 10 data centers - How to talk to each other?

I've been looking into Mesos, Marathon and Chronos combo to host a large number of websites. In my head I should be able to type a few commands into my laptop, and wait about 30 minutes for the thing to build and deploy. My only issue, is that my…
5
votes
1 answer

Does Apache Mesos recognize GPU cores?

In slide 25 of this talk by Twitter's Head of Open Source office, the presenter says that Mesos allows one to track and manage even GPU (I assume he meant GPGPU) resources. But I cant find any information on this anywhere else. Can someone please…
GuSuku
  • 1,371
  • 1
  • 14
  • 30
5
votes
2 answers

How to configure a high-availability cluster of MariaDB and Redis in Mesos or CoreOS

In most tutorials, presentations and demos, only stateless services are presented that are load balanced either via DNS (SkyDNS, skydock, etc.) or via reverse proxy, such as HAproxy or Vulcand, which are configured with etcd or ZooKeeper. Is there a…
Anton Evangelatov
  • 1,397
  • 2
  • 14
  • 31
5
votes
1 answer

Resolving the Mesos Leading Master

We're using Mesos to run jobs on a cluster. We're using haproxy to point, e.g., mesos.seanmcl.com to a Mesos Master. If that Master happens to not be the leader, the UI will redirect the browser, after a delay, to the leader so you can see the…
seanmcl
  • 9,740
  • 3
  • 39
  • 45
5
votes
2 answers

Mesos scheduler/slave continuously gets disconnected

When the Mesos scheduler (or slave) is on a different machine than the Mesos master, it keeps trying to connect to the master but gets disconnected. This cycle repeats continuously. How to fix this problem?
vinodkone
  • 2,731
  • 4
  • 22
  • 21
5
votes
1 answer

Unable to run Spark with Mesos

I set up Spark-0.9.1 to run on mesos-0.13.0 using the steps mentioned here. The Mesos UI is showing two workers registered. I want to run these commands on Spark-shell > scala> val data = 1 to 10000 data: > scala.collection.immutable.Range.Inclusive…
Pravesh Jain
  • 4,128
  • 6
  • 28
  • 47
5
votes
1 answer

Using Mesos to manage a cluster of Web App + Databases

I'm just learning Apache Mesos. I would like to run a cluster of web apps (Scala Play) integrating with a database cluster (Cassandra), managed by Mesos. When a web app goes down or a database goes down, my understanding is that Mesos will auto…
5
votes
2 answers

When running make check on Mesos one of the tests fails, what now?

After running a make check when building Mesos, I found that one of those tests is failing. How can I find out more about the reasoning behind that failure?
Till
  • 27,559
  • 13
  • 88
  • 122
5
votes
1 answer

How to access a web application running on Mesos?

I'm quite new to Mesos, and I'm still trying to wrap my head around its concepts and ideas. So far I think I have understood that basically Mesos tries to abstract away your data center and present it as one big computer. Using the Mesos + Docker…
Golo Roden
  • 140,679
  • 96
  • 298
  • 425
5
votes
3 answers

How to set up mesos for running spark on standalone OS/X

I want to do testing of Spark programs on a Mac. Spark is running and my spark scala program compiles: but there is a library (mesos.so ?) error at runtime: Exception in thread "main" java.lang.UnsatisfiedLinkError: no mesos in java.library.path …
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
5
votes
1 answer

How to launch a mesos task on a particular executor?

I am writing a mesos framework and I want to execute my tasks using my custom executor. I went through a couple of other mesos framework codebases (chronos and marathon) and wrote a scheduler that execute shell commands using the default command…
user1639848
  • 562
  • 5
  • 15
4
votes
4 answers

Installing Mesos on ubuntu 20.04 causing makefile issue

I was trying to install mesos latest version(1.9.0) on the ubuntu 20.04 using Dockefile. FROM ubuntu:20.04 ENV MESOS_VERSION 1.9.0 ENV MESOS_ARTIFACT_FILENAME mesos-${MESOS_VERSION}.tar.gz # Install Mesos dependencies # Compile and install Mesos…
4
votes
1 answer

How to set docker command --log.level=DEBUG in a marathon deployment file?

reading at this docker-compose file : (Source: https://docs.traefik.io/user-guides/docker-compose/acme-dns/#setup) version: "3.3" services: traefik: image: "traefik:v2.1.0" container_name: "traefik" command: -…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
4
votes
2 answers

How to install Flink on Mesos cluster without DC/OS?

I am newbie in Apache Flink and our team is trying to set up an Apache Flink Cluster on Apaches Mesos. We have already installed Apache Mesos & Marathon with 3 Master nodes and 3 Slaves and now we are trying to install Apache Flink without DC/OS as…
rahul_raj
  • 275
  • 2
  • 3
  • 9