Re: How to launch a framework via Mesos REST API

2017-07-21 Thread Wenzhao Zhang
Thanks so much for the clarification, Benjamin. Wenzhao On Fri, Jul 21, 2017 at 11:22 AM, Benjamin Bannier < benjamin.bann...@mesosphere.io> wrote: > Hi Wenzhao, > > > I agree your statement, Marathon is only a management layer over Mesos. > > I believe I did not write that. > > > But, we can r

Re: Mesos-docker-executor understanding

2017-07-21 Thread James Peach
> On Jul 19, 2017, at 10:05 AM, Thomas HUMMEL wrote: > > Hello, > > I've read some books about Mesos, installed one multi-master cluster (for POC > purposes) with some frameworks (Marathon, Spark for instance) and watch some > talks. > > Everything works and my understanding of Mesos is beco

Re: How to launch a framework via Mesos REST API

2017-07-21 Thread Benjamin Bannier
Hi Wenzhao, > I agree your statement, Marathon is only a management layer over Mesos. I believe I did not write that. > But, we can run a framework on Mesos via invoking Marathon's REST API. > How does this happen? I think Marathon internally calls Mesos's API to start > the framework. But

Re: How to launch a framework via Mesos REST API

2017-07-21 Thread Wenzhao Zhang
Hi, Benjamin: Thanks for the feedback. I agree your statement, Marathon is only a management layer over Mesos. But, we can run a framework on Mesos via invoking Marathon's REST API. How does this happen? I think Marathon internally calls Mesos's API to start the framework. But I don't see Mesos

Re: How to launch a framework via Mesos REST API

2017-07-21 Thread Benjamin Bannier
Hi Wenzhao, I am not sure I understand you exactly. All Mesos tasks (the stuff running on and managed by Mesos agents) always belong to a framework; this framework launches and supervises them, and manages their lifetime. It is not possible to start tasks without a framework. Marathon is a fra