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

Access public address of a DC/OS service

I deployed a service on DC/OS with the following config when I access this address (http://eureka.marathon.l4lb.thisdcos.directory:8761/) it says the site can't be reached, although all services are healthy on my dashboard. How can I access the…
Luiz E.
  • 6,769
  • 10
  • 58
  • 98
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

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

Invalid json in ajax request

The goal is to successfully POST a new job to the marathon REST API. I'm using jQuery v1.12.4 The following code is getting values from a form and printing valid json to the console.log. I've verified it using JSONLint. But it doesn't seem to be…
Robert Stober
  • 53
  • 1
  • 7
4
votes
2 answers

Run redis in marathon (mesos) under one url

I have problem witch start redis server on one IP address in mesos, marathon. My steps create own Dockerfile who include own redis.conf I create my own docker image and pull it into docker repo (name arekmax/redis-instancje) in Marathon I start my…
Arek
  • 89
  • 1
  • 5
4
votes
0 answers

Deploying docker container using marathon

I am using marathon to deploy my docker containers with memory limits specified in marathon specs which looks like : { "id": "", "cmd": null, "cpus": 2, "mem": 4096, "disk": 30720, "instances": 1, "container": { "docker": { …
t6nand
  • 710
  • 1
  • 8
  • 20
4
votes
1 answer

Docker + Marathon : how to do a port mapping ?

I am trying to launch rstudio on my infrastructure. If I do : sudo docker run -d -p 8787:8787 192.168.0.38:5000/rocker/rstudio Then I have rstudio running fine on my server. But I have mesos and marathon, and would like to make a Marathon's app…
Romain Jouin
  • 4,448
  • 3
  • 49
  • 79
4
votes
1 answer

Mesosphere - High Availability Cluster failing to elect leader, but logs show no errors and cannot seem to force a leader election

I have a 6 machine cluster. The machines are: HOST MEM (GB) CPU mesos-primary-1 8 2 mesos-primary-2 8 2 mesos-primary-3 8 2 mesos-worker-1 1 1 mesos-worker-2 1 1 mesos-worker-3 1 …
yburyug
  • 1,070
  • 1
  • 8
  • 13
4
votes
2 answers

Could not determine the current leader

I'm in this situation in which I got two masters and four slaves in mesos. All of them are running fine. But when I'm trying to access marathon I'm getting the 'Could not determine the current leader' error. I got marathon in both masters (117 and…
Painy James
  • 805
  • 2
  • 13
  • 26
4
votes
4 answers

HaProxy for service discovery on a marathon mesos docker linked containers

Please this is not asked anywhere I have checked. Here is what I have done. I am able to deploy single instance of mesos, marathon and docker. Moving next step ahead I want to have 2 mesos slave(docker containers) linked to each other. Just using…
ashishjain
  • 1,243
  • 1
  • 11
  • 12
4
votes
1 answer

How does Marathon limit resources for directly called apps?

I am experimenting with Mesos + Marathon and starting simple by creating a little "app" consisting of a shell script looping infinitely logging a message once every 5 seconds. When I provision that app I can allocate various memory and CPU resources…
Friedrich 'Fred' Clausen
  • 3,321
  • 8
  • 39
  • 70
4
votes
0 answers

Beginners guide for Mesos, Marathon, Docker Integration

I am scratching my head, to figure out how the combination of docker, mess and marathon can help me in building my distributed application. Application has a backend comprising of services processing client requests and returning json data, which…
thegeek
  • 232
  • 2
  • 8
3
votes
1 answer

how to scale down instances based on their uptime with apache marathon?

I find myself in a situation where I have the necessity to scale down container instances based on their actual lifetime. It looks like fresh instances are removed first when scaling down through marathon's API. Is there any configuration I'm not…
ivoputzer
  • 6,427
  • 1
  • 25
  • 43
1 2
3
34 35