You can take a look at the TaskInfo. If the TaskInfo does not have ExecutorInfo set, then it's a task. Otherwise, Mesos will launch the executor and send the task to the executor.
- Jie On Thu, Feb 25, 2016 at 2:50 PM, Pradeep Chhetri < [email protected]> wrote: > Hello, > > From docker containerizer documentation ( > http://mesos.apache.org/documentation/latest/docker-containerizer/), > > *"Users can either launch a Docker image as a Task, or as an Executor."* > > How can i identify whether a docker container started by lets say marathon > is running as a task or as an executor ? > > > Thank you. > > -Pradeep > > >

