mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Rukletsov <a...@mesosphere.io>
Subject Re: Shutdown by timeout in mesos
Date Tue, 02 Sep 2014 22:46:55 GMT
Thanks for the answer, Benjamin. Let me reformulate my question a bit. For
me it looks like both do the same thing: after a certain timeout perform
hard shutdown. Maybe it makes sense to choose one approach and apply it
everywhere for consistency?


On Tue, Sep 2, 2014 at 8:56 PM, Benjamin Mahler <benjamin.mahler@gmail.com>
wrote:

> 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 <alex@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
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message