You can checkout the state.json endpoint on the master On Thu, Feb 25, 2016 at 3:53 PM, Pradeep Chhetri < pradeep.chhetr...@gmail.com> wrote:
> Hello Jie, > > Thank you for the quick reply. Sorry for asking silly question. How can i > look for the taskinfo of a running container ? Can i see the TaskInfo > details in the mesos master UI for a task? > > On Thu, Feb 25, 2016 at 10:52 PM, Jie Yu <yujie....@gmail.com> wrote: > >> 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 < >> pradeep.chhetr...@gmail.com> 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 >>> >>> >>> >> > > > -- > Pradeep Chhetri > > In the world of Linux, who needs Windows and Gates... >