Are you still wondering about this? ShutdownProcess is inside the libmesos executor driver and ensures that we forcibly shutdown an executor if it doesn't comply with the shutdown request within the timeout. The second bullet in your list is the "Command Executor", which is the executor that is used when only a TaskInfo is provided. Many frameworks use their own executor.
On Wed, Aug 27, 2014 at 3:12 PM, Alex Rukletsov <a...@mesosphere.io> wrote: > There are at least two mechanisms for shutdown by timeout in mesos: > * through the separate ShutdownProcess (src/exec/exec.cpp:383) > * delay in the same process (src/launcher/executor.cpp:325) > Why do we need two different ways of doing that? > > Regards, > Alex >