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
4
votes
1 answer

configure: error: cannot find libz

Building Mesos 1.3.0 from sources on linux-mint release 18.2 I get the following message: configure: error: cannot find libz When I try to search packages starts with libz* I get many packages names starting with libz. Which one is the right…
nix
  • 744
  • 9
  • 16
4
votes
1 answer

How to run Spark driver in HA mode?

I have a Spark driver submitted to a Mesos cluster (with highly-available Mesos masters) in client mode (see this for client deploy mode). I'd like to run the Spark driver in HA mode, too. How? I can implement my own implementation for this, but for…
4
votes
1 answer

How to spark-submit to ZooKeeper-managed Mesos cluster (gives java.net.UnknownHostException: zk for mesos://zk:// master URL)?

I'm running Spark 2.0.2 and Mesos 0.28.2. I'm attempting to submit an application to Spark, using a ZooKeeper-managed Mesos cluster as the master: $SPARK_HOME/bin/spark-submit --verbose \ --conf spark.mesos.executor.docker.image=$DOCKER_IMAGE…
Eric Finn
  • 8,629
  • 3
  • 33
  • 42
4
votes
0 answers

How to set Chronos job schedule to run only 4 times every day?

We have a requirement where a particular chronos(https://mesos.github.io/chronos/) job has to be run every 3 hours a day starting from morning 8 AM. So total 4 runs i.e. 8AM, 11AM, 2PM, 5PM and no runs after that. It should repeat every day. How to…
ExploringApple
  • 1,348
  • 2
  • 17
  • 30
4
votes
1 answer

Mesosphere (dc/os) agent re-connection failure

I set up small test Mesosphere cluster according to this guide https://dcos.io/docs/1.8/administration/installing/custom/cli/ everything went smoothly. There are only 3 nodes in cluster, one for bootstrap, one master(10.7.1.12) and one…
Purple
  • 711
  • 2
  • 10
  • 19
4
votes
1 answer

Why does submitting a Spark application to Mesos fail with "Could not parse Master URL: 'mesos://localhost:5050'"?

I'm getting the following exception when I'm trying to submit a Spark application to a Mesos cluster: 17/01/31 17:04:21 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable …
4
votes
3 answers

Does Mesos Master and Mesos agent require root access?

Does Mesos Master and Mesos agent require root access? what is the default permission level for Mesos master and Mesos agent? can they run with non-root access?
user1870400
  • 6,028
  • 13
  • 54
  • 115
4
votes
2 answers

Strange ECONNRESET error I cannot figure out

I do not know, if this is related to koa, or is problem of some other npm module or something else. I am going to start from here. So to the problem. I am having REST api written in koa v1. We are running node server in the Docker image. One of the…
daniyel
  • 652
  • 10
  • 28
4
votes
1 answer

Marathon Docker Tasks Failing

I have setup Marathon and Mesos on two of my machines. I can successfully schedule commands from the marathon web console, but when I try to schedule a job involving docker images I immediately get job failed. Plus I get no stderr or stdout files.…
Codious-JR
  • 1,658
  • 3
  • 26
  • 48
4
votes
1 answer

How to remove orphaned tasks in Apache Mesos?

The problem maybe caused by Mesos and Marathon out of sync, but the solution mentioned on GitHub doesn't work for me. When I found the orphaned tasks: What I do is: restart Marathon Marathon does not sync orphaned tasks, but start new…
Mithril
  • 12,947
  • 18
  • 102
  • 153
4
votes
1 answer

Unable to install Kafka on DCOS

Installing Kafka on DCOS without any custom configuration gives following logs Cluster Configuration is: 8 Private Nodes, 2 Public Nodes 24 Cores Total, 320 GB Ram Total All resources are free. StdErr Output: log4j:WARN No appenders could be found…
Kiba
  • 399
  • 1
  • 4
  • 16
4
votes
1 answer

Why use Consul with Kubernetes, Docker, Mesos?

Most container services have some sort of built in service discovery mechanism. So why is it that someone would still incorporate Consul into their setup? I know that Consul provides other benefits besides service discovery, such as K/V store,…
Dan K
  • 409
  • 3
  • 12
4
votes
1 answer

Marathon: How to specify environment variables in args

I am trying to run a Consul container on each of my Mesos slave node. With Marathon I have the following JSON script: { "id": "consul-agent", "instances": 10, "constraints": [["hostname", "UNIQUE"]], "container": { "type":…
sliter
  • 1,063
  • 1
  • 17
  • 34
4
votes
1 answer

How to add additional agents to mesosphere dc/os cluster?

We have Mesosphere DC/OS version 1.7 running on 6 vmware vm's with rhel7 and we would now like to add more agents. We were able to increase from our initial 2 agents(vms) to 6 agents(vms) by running dcos_generate_confg.sh --uninstall from the boot…
grayzzz
  • 53
  • 5
4
votes
0 answers

dcos chronos spark-submit command to mesos master fails as unauthorized

We are doing spark job submission using the rest api to spark master/cluster manager in dcos cluster The below job works perfect rest end point => service/spark/v1/submissions/create { "action" : "CreateSubmissionRequest", "appArgs" : [ "100"…
Venkatesh
  • 53
  • 2