You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Anand Mazumdar (JIRA)" <ji...@apache.org> on 2017/01/03 23:06:58 UTC
[jira] [Created] (MESOS-6848) The default executor does not exit if
a single task pod fails.
Anand Mazumdar created MESOS-6848:
-------------------------------------
Summary: The default executor does not exit if a single task pod fails.
Key: MESOS-6848
URL: https://issues.apache.org/jira/browse/MESOS-6848
Project: Mesos
Issue Type: Bug
Affects Versions: 1.1.0
Reporter: Anand Mazumdar
Assignee: Anand Mazumdar
Priority: Blocker
If a task group has a single task and it exits with a non-zero exit code, the default executor does not commit suicide.
This mostly happens due to the fact that we invoke {{shutdown()}} in {{waited()}} when we notice the termination of a single container here: https://github.com/apache/mesos/blob/master/src/launcher/default_executor.cpp#L666
but then we return early here after executing all the kill calls: https://github.com/apache/mesos/blob/master/src/launcher/default_executor.cpp#L751
However, when there is just one task in the task group, this won't result in {{__shutdown}} being called ever leading to the executor committing suicide.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)