Questions tagged [marathon]

Marathon is an Apache Mesos framework for long-running services.

Marathon is a Mesos framework for long-running services.

Marathon provides a REST API for starting, stopping, and scaling services. Marathon is written in Scala and can run in highly-available mode by running multiple Marathon instances.

Marathon is a meta framework: you can start other Mesos frameworks such as Chronos or Storm. It can launch anything that can be launched in a standard shell. In fact, you can even start other Marathon instances via Marathon.

Download, Project, Community.

523 questions
1
vote
1 answer

Is there a way to allow Cross-Origin api requests to Mesosphere's Marathon?

I have a bunch of marathon servers set up for some tests that are automatically run, and I would like to make a dashboard that shows the health of each of the micro-services on all 5 of the servers so that I can see if everything is healthy all at…
annedroiid
  • 6,267
  • 11
  • 31
  • 54
1
vote
0 answers

Spark streaming on Mesos - random failures of Marathon tasks

I'm using Mesos 1.1.0 cluster for both Spark batch and Spark streaming jobs. Batch is working without any problem with same Spark URI-s, Streaming is behaving abnormally from time to time. Streaming job is started using Marathon 1.3.6 by running…
Ivan
  • 11
  • 2
1
vote
2 answers

any library to check marathon deployment status

I have a bunch of marathon docker tasks that are run on our test deployment machines. There is a Jenkins CI job, that triggers the deployment a whole bunch of docker containers that are run on marathon-mesos cluster. (3 mesos-slaves, 1 master and 1…
Tyagi Akhilesh
  • 744
  • 6
  • 15
1
vote
2 answers

Number of instances of application in marathon

Is there any way to get the number of instances of application running in marathon ? I am running a basic python webapp of 2 instances in marathon. I want to write a script to increase or decrease the number of instances automatically when the load…
1
vote
1 answer

Clearing out 'finished' service history in DC/OS

I am currently setting up a POC network of dockerised services using DC/OS. As this is a POC, I have had to make many revisions to the containers in order to get things working. Consequently, when drilling into some services using the DC/OS…
Jay
  • 9,561
  • 7
  • 51
  • 72
1
vote
0 answers

Docker Containers on Marathon disappeared

I have had been 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, due to some problems I had to destroy my MesosMaster machine and now when I started the…
orange14
  • 371
  • 3
  • 19
1
vote
0 answers

Rails on marathon with cache store: memory_store issue

To make my homepage load super fast, I use 5 MB of my RAM to cache only the landing page layout. I'm trying to move to marathon hosting and using the Marathon-LB, to let him know that the site is ok, he needs some kind of a health check, so I added…
Chen Kinnrot
  • 20,609
  • 17
  • 79
  • 141
1
vote
0 answers

Jenkinsfile java.lang.NoSuchMethodError: No such DSL method '$' found among steps

I get the below strange error when trying to deploy to MESOS. The snippet of code looks as follow marathon( url: 'http://marathon-instance', forceUpdate: false, appid: 'someid', …
A Voiry
  • 31
  • 2
  • 5
1
vote
1 answer

Jenkins issue with marathon deployment plugin

I've followed the https://docs.mesosphere.com/1.8/usage/tutorials/deploy-on-marathon/ guide for deploying an app from jenkins to marathon on dcos. I'm using a private registry hosted inside the dcos, and jenkins as well. I'm getting the following…
Chen Kinnrot
  • 20,609
  • 17
  • 79
  • 141
1
vote
1 answer

Get dynamically assgined IP/port from Marathon inside containers

I have an application that deploys through Marathon multiple similar servers (containerized in Docker containers), using Marathon auto-assigning 'port' feature. That is nice and excatly the way I need in my app. The problem is that my servers…
matt
  • 1,046
  • 1
  • 13
  • 26
1
vote
2 answers

Problems with running marathon on my localhost

I have setup mesos and marathon on my local itself. Now, when I begin to start-up mesos master and slave, I get a lot of logs and they seem to start up because I am able to access the web-page http:localhost:5050, but when I start marathon, it gives…
John Dui
  • 541
  • 3
  • 8
  • 15
1
vote
1 answer

Running a docker container as a task in marathon

I have setup the mesos and marathon on my local system. Also, I have docker engine running on my system, and when I do, sudo docker images, I get the following, REPOSITORY TAG IMAGE ID…
John Dui
  • 541
  • 3
  • 8
  • 15
1
vote
1 answer

Running spark-submit application with Marathon

I have spark application and running it with spark-submit like: /opt/spark/bin/spark-submit \ --master mesos://dispatcher_ip:7077 \ --driver-memory xG \ --executor-memory xG \ --total-executor-cores x \ --deploy-mode cluster \ -- and jar…
EnableTest
  • 11
  • 3
1
vote
0 answers

Apache ZooKeeper Error status=1

I am getting this error on my Mesos Master node. Anyone know what it means and how to resolve it? bash-4.2$ sudo systemctl status zookeeper â— zookeeper.service - Apache ZooKeeper Loaded: loaded (/usr/lib/systemd/system/zookeeper.service;…
ealeon
  • 12,074
  • 24
  • 92
  • 173
1
vote
0 answers

Marathon instances are not running

Below is my tomcat.json file: { "id":"tomcat-docker", "mem":512, "cpus":1.0, "instances":1, "container":{ "type":"DOCKER", "docker":{ "image":"tomcat:8.0", "network":"BRIDGE", "portMappings":[ { …
Chintamani
  • 1,076
  • 7
  • 23
  • 47