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
0
votes
0 answers

Mesos + Marathon : json: cannot unmarshal string into Go value of type []string

I am setting up a dockerized Mesos + Marathon cluster. I have Mesos working fine with slaves, but I keep getting an error while trying to push the mesos-dns app through a JSON sent to Marathon. I send : { "container": { "docker": { …
Romain Jouin
  • 4,448
  • 3
  • 49
  • 79
0
votes
1 answer

Mesos / Marathon : forward port make deployement fail

I have marathon/mesos successfully deploying app, but if I add a port mapping, it doesn't work anymore. My slave container is runned as : docker run --privileged -v /data/docker/notebook:/notebook:rw -v /etc/localtime:/etc/localtime:ro --net=host…
Romain Jouin
  • 4,448
  • 3
  • 49
  • 79
0
votes
1 answer

Can marathon register to multiple mesos?

Marathon and Mesos do not support muti-datacenter. We are trying to find a way go around it. Can we run mesos in each data centersand have marathon talk to all the mesos from difference data centers?
user3772724
  • 125
  • 6
0
votes
1 answer

Deploy group in marathon

I am trying to deploy gitlab using marathon. In development, i was using a docker-compose.yml, which included mariadb and redis in two dependances container. I saw the marathon sample for creating groups. I am trying to adapt so it look like the…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
0
votes
2 answers

how marathon determine a service instance is ready to service

buddies I am wondering how marathon get to know a serice instance is ready to service? Is there any interface to customize the health check during the starting up of a instance? thanks
yuankui
  • 162
  • 2
  • 10
0
votes
1 answer

Configure 3 Mesos instance with 1 master using docker and docker-compose

By reading this article : how-to-configure-a-production-ready-mesosphere-cluster-on-ubuntu-14-04, I wanted to start my own docker mesosphere using 3 server. The setup is similar than the article, expect I use 4 dockerized server : Docker…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
0
votes
1 answer

Failed to start Marathon in ubuntu

After install Marathon by apt-get install marathon, I failed to start Marathon by service marathon start; the command return process id but can not retrieve it by ps. And I can not get log of it. If I run /usr/bin/marathon, I got following message…
Klaus Ma
  • 55
  • 1
  • 6
0
votes
1 answer

Marathon loses control over Mesos when Marathon and Mesos leaders mismatch

When mesos or marathon service restart due to some reasons and leader of mesos and marathon is not on the same machine, deployments stuck in marathon and nothing happens in mesos, that leads to terrible results when marathon can not restart failed…
Ihar Krasnik
  • 2,499
  • 2
  • 13
  • 17
0
votes
1 answer

Marathon event subscriptions

have been trying to enable event subscriptions. I found the Marathon REST API. I attempted to restart marathon with the "--event_subscriber http_callback" and created the "event_subscriber" and "http_endpoints". When i restart it shows "…
megphn
  • 63
  • 7
0
votes
1 answer

Cant connect to an app using Mesos-DNS

{ "id": "sparkslave", "instances": 1, "cpus": 1, "mem": 512, "constraints": [["hostname", "UNIQUE"]], "cmd": "/root/spark-1.5.0/sbin/start-slave.sh spark://sparkmaster.marathon.mesos:7077 && tail -f /var/log/messages" } shouldn't…
208rishabh
  • 96
  • 11
0
votes
1 answer

Marathon: Get app's hostname from Rest API

I want to use Marathon's Rest API to get the hostname of a particular application. curl -XGET http://IP:8080/v2/apps/app_name/tasks gives a list of details including hostname. However I want the output to be only the hostname. Does something exist…
208rishabh
  • 96
  • 11
0
votes
0 answers

Unable to set Docker container hostname via Marathon Json file

I am trying to set hostname for a container as a part of SQL container testing. I am using JSON to be POST'ed to Marathon via curl and bring up container through Marathon. However hostname configuration I am using in json doe not seem to be working.…
Korba
  • 435
  • 1
  • 4
  • 18
0
votes
1 answer

Deploy cassandra-mesos framework with marathon

I'm trying cassandra-mesos on my private cluster os mesos. I'm using Readme instruction to deploy with marathon but some error occure on wake up task and the framework never was registered: Stderr output: I0925 15:55:06.185039 8383 fetcher.cpp:214]…
enrique-carbonell
  • 5,836
  • 3
  • 30
  • 44
0
votes
1 answer

Running Marathon with Mesos's example frameworks

I want to launch Mesos's exameple frameworks such as test_framework, long_lived_framework in /mesos/src/example with marathon. or I want to launch dummy tasks with using a same executor. But I don't know how to do it. please help me.
DHPark
  • 5
  • 3
0
votes
1 answer

Is there a limit of the number of tasks that can be launched by Mesos on a slave?

I am currently using Mesos + Marathon for the test. When I launch a lot of tasks with command ping 8.8.8.8, at one point, slaves cannot launch a task any more. So I checked out stderr of sandbox, then it shows Failed to initialize,…
DHPark
  • 5
  • 3