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

How does Spark handle exceptions for a spark streaming job?

This question might seem pretty large as is, however I have two specific situations which are better put together than separately. To start with, I'm reading data from Kafka into a dstream using the spark-streaming-kafka API. Assume I have one of…
Andrei T.
  • 2,455
  • 1
  • 13
  • 28
2
votes
2 answers

HDFS resiliency to machine restarts in DC/OS

I have installed HDFS from universe on my DCOS cluster of 10 Core OS machines (3 master nodes, 7 agent nodes). My HA HDFS config has 2 name nodes, 3 journal nodes and 5 data nodes. Now, my question is. Shouldn’t the HDFS be resilient to machine…
Andrea T. Bonanno
  • 221
  • 1
  • 4
  • 15
2
votes
1 answer

Mesos-Marathon docker

Is there a way to restart previously active marathon docker container using marathon GUI. I tried suspend and start using scale option but it's creating a new container rather than restarting the previously active container. Could some one help me…
sandeep
  • 387
  • 1
  • 4
  • 12
2
votes
1 answer

DC/OS marathon Virtual network not working

I installed DC/OS with 3 masters and 3 agents and face a problem with virtual networking. Here is my Marathon app spec: { "id": "/nginx", "cmd": null, "cpus": 1, "mem": 128, "disk": 0, "instances": 1, "container": { "type":…
vimal prakash
  • 1,503
  • 1
  • 22
  • 38
2
votes
2 answers

How to use Marathon health check command mode?

I am running docker containers on mesos / marathon. I wanted to implement health checks, basically want to run a health check script. My question is, will the health check command be run on the container itself or does it run on the slave? It…
SeattleOrBayArea
  • 2,808
  • 6
  • 26
  • 38
2
votes
1 answer

Tell difference of a scaled app on Mesos

I am running server apps inside Docker on Mesos, some apps are scaled to multiple instances. When I am collecting data inside the app, I want the app to be able to store some type of identifiers so later on when I read data, I know which app it is…
Willam Marston
  • 97
  • 2
  • 12
2
votes
1 answer

Spring Boot Array Environment Variables on Docker / Marathon

My application has array environment variables in the form tableName[0]=tableName ... property.one.two.tableName[x]=tableNameX When running locally, everything works fine when I put the properties in application.properties, command-line args, or…
aarbor
  • 1,398
  • 1
  • 9
  • 24
2
votes
1 answer

What benefits does the Marathon package bring to DC/OS?

Apologies for the noob question; I am new to using DC/OS (using v1.8.7) and have learnt that DC/OS has Marathon built in (Source: https://docs.mesosphere.com/1.8/administration/release-notes/). When I go to the 'Universe' browser in DC/OS, I find…
Jay
  • 9,561
  • 7
  • 51
  • 72
2
votes
0 answers

Marathon how to health check a background worker

I got a standard rails app with 2 process types, the web process and the worker process. both running as tasks on marathon. Is there a way to define health check to the worker process, the process does not listen on any port, whats recommended…
Chen Kinnrot
  • 20,609
  • 17
  • 79
  • 141
2
votes
0 answers

Dockers on DC/OS 1.8: First one works, the rest are dead

I have a container that will be deployed several times upon request from my application, the difference between containers relies on the environment variables, they point to a different bd (PostgreSQL) and a different table (the table represents the…
imTachu
  • 3,759
  • 4
  • 29
  • 56
2
votes
1 answer

Ansible Fatal Error when trying to delete an App on Marathon

I am trying to Post an app on marathon using Ansible and then I am trying to delete the same app with my Playbook. Everything works fine, the only problem is that I am getting below error when I am running my playbook for delete. fatal: [localhost]:…
SRJ
  • 48
  • 5
2
votes
1 answer

Mesos marathon cannot destroy job

I have a dcos cluster that is running a website. The website runs on 20 docker instances. When I'm looking at my application I see that I have 24 instances. Where 2 instances have status started but health unknown and 2 have status staged. The old…
Geoffrey Samper
  • 497
  • 4
  • 14
2
votes
1 answer

DC/OS schedule container updates

Is it possible to use DC/OS or Marathon to repeatedly check when a new container image update is available and update the live containers in the cluster? I'd like to avoid having Docker Hub be aware of the cluster and implementing web hooks...…
Jonathan Dunlap
  • 2,581
  • 3
  • 19
  • 22
2
votes
1 answer

Mesosphere Marathon API performance

I'm currently designing with my team a system, that orchestrates a large number of containers in Marathon. We need to get current status of apps in Marathon and have here two options: Poll the list of tasks through the API. Probably GET /v2/apps/…
Pavel
  • 548
  • 5
  • 23
2
votes
2 answers

marathon-lb health check failing on all spray.io containers

I'm running DC/OS 1.7 with marathon-lb. spray.io 1.3.3 is returning 400 to all marathon-lb/HAProxy heath check calls: request has a relative URI and is missing a Host header so marathon-lb never routes any requests to the service. The health check…
navicore
  • 1,979
  • 4
  • 34
  • 50