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
2 answers

What is the recommended setup for an Elasticsearch cluster that contains data at the scale of TBs and above?

Currently, I have several Elasticsearch nodes running on several bare metal machines containing indices at the size of TBs. We're in the process of restructuring our infrastructure and I'm not sure if this is the best way. I have been looking at…
5
votes
1 answer

Apache Spark on Mesos: Initial job has not accepted any resources

I am running Apache Spark on cluster mode using Apache Mesos. But, when I start Spark-Shell to run a simple test command (sc.parallelize(0 to 10, 8).count) I receive the following warning message: 16/03/10 11:50:55 WARN TaskSchedulerImpl: Initial…
JuniorStack2
  • 113
  • 1
  • 2
  • 8
5
votes
1 answer

How to connect spark-shell to Mesos?

I am trying to set up Apache Spark to run on Mesos, but I get the following message on terminal: W0309 10:37:10.570291 4017 sched.cpp:700] Ignoring framework registered message because it was sent from 'master@127.0.1.1:5050' instead of the…
JuniorStack2
  • 113
  • 1
  • 2
  • 8
5
votes
1 answer

How can I delete a topic from DCOS Kafka?

We are running Kafka via DCOS. We have a topic which appears to have some bad data. I would like to delete that topic. Tried running: kafka-topics.sh --zookeeper --delete --topic This said it had marked the topic for deletion but that it…
Wade
  • 346
  • 2
  • 12
5
votes
2 answers

How to get the IP of current leader master from the quorum?

Is there any way to get the IP of current leading Mesos-master from the quorum? Does any variable stores that value?
Madhurima Mishra
  • 1,063
  • 3
  • 14
  • 27
5
votes
0 answers

Spark Executor: Managed memory leak detected

I am using mesos cluster to deploy spark job (client mode). I have three servers and was able to run spark job. However, after a while (few days), I got the error: 5/11/03 19:55:50 ERROR Executor: Managed memory leak detected; size = 33554432 bytes,…
auxdx
  • 2,313
  • 3
  • 21
  • 25
5
votes
3 answers

Is HDFS necessary for Spark workloads?

HDFS is not necessary but recommendations appear in some places. To help evaluate the effort spent in getting HDFS running: What are the benefits of using HDFS for Spark workloads?
BAR
  • 15,909
  • 27
  • 97
  • 185
5
votes
1 answer

Lots of ERROR ErrorMonitor: AssociationError on spark startup

I am using spark on mesos (with kafka and cassandra) On startup, I have a lot of errors (~ 100) then evrything works fine. The errors are of this type: [Stage 0:=======> (24 + 26) / 50][Stage 3:> (0 + 24) / 24]15/09/17…
christobill
  • 113
  • 7
5
votes
4 answers

mesos-master crash with zookeeper cluster

I am deploying a zookeeper cluster which has 3 nodes. I use it to keep my mesos master high availability. I download the zookeeper-3.4.6.tar.gz tarball and uncompress it to /opt, rename it to /opt/zookeeper, enter the directory, edit the…
Steven Xue
  • 61
  • 1
  • 6
5
votes
4 answers

How should a .dockercfg file be hosted in a Mesosphere-on-AWS setup so that only Mesosphere can use it?

We have set up a test cluster with Mesosphere on AWS, in a private VPC. We have some Docker images which are public, which are easy enough to deploy. However most of our services are private images, hosted on the Docker Hub private plan, and require…
5
votes
1 answer

Mesos: mesos-slave offer additional ports

I've got some mesos-slave nodes that I would like to expose to the internet. As such, I would like mesos-slave to offer port 80 and 443 in addition to its default slew of ports/resources. From what I have gathered, I need to adjust the --resources…
advait
  • 6,355
  • 4
  • 29
  • 39
5
votes
1 answer

"nodename nor servname provided" when trying to start a mesos-slave

I was following this simple guide on installing Mesos locally https://mesosphere.com/2014/07/07/installing-mesos-on-your-mac-with-homebrew/ I was able to start a mesos master and was able to see the master's console perfectly fine at…
neutralino
  • 339
  • 1
  • 7
  • 10
5
votes
3 answers

How to generate the URL which shows the live logs in mesos for a job

I am developing a UI in which I need to show the live logs (stdout and stderr) of jobs running in a mesos slave. I am finding out a way in which I will be able to generate a URL which will point to the mesos logs for the job. Is there a way to do…
5
votes
1 answer

Mesos applications, why not use Marathon for everything?

I see Mesosphere building all kinds of applications on the Mesos Framework like Hadoop, Kubernetes, etc. but since there is the Marathon applications for long-running services, why not just use that? E.g. why not setup Kubernetes nodes on a bunch of…
user1340582
  • 19,151
  • 35
  • 115
  • 171
5
votes
1 answer

It's possible only install Hadoop HDFS?

I'm new on Hadoop world, and I need install mesos with Hadoop HDFS to make a fault-tolerant distributed file system, but all installation references include necessary components for my scenario as for example: MapReduce. Do you have any idea or…
enrique-carbonell
  • 5,836
  • 3
  • 30
  • 44