{
"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 sparkmaster.marathon.mesos resolve and connect to the IP where sparkmaster is running?
sparkmaster is another application being run through Marathon.