[
https://issues.apache.org/jira/browse/MESOS-8927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478318#comment-16478318
]
Chun-Hung Hsiao commented on MESOS-8927:
----------------------------------------
I'd like to add some notes here. This problem is actually nontrivial, because
AFAIK we don't have a reliable way to kill a container at any state.
> Default executor cannot kill tasks if `LAUNCH_NESTED_CONTAINER` is stuck.
> -------------------------------------------------------------------------
>
> Key: MESOS-8927
> URL: https://issues.apache.org/jira/browse/MESOS-8927
> Project: Mesos
> Issue Type: Bug
> Components: executor
> Affects Versions: 1.5.1, 1.6.0
> Reporter: Chun-Hung Hsiao
> Priority: Critical
> Labels: default-executor, mesosphere
>
> In the default executor, if the {{LAUNCH_NESTED_CONTAINER}} call never
> returns, {{container->launched}} won't be set, so a follow-up {{KILL}} event
> will be ignored:
>
> [https://github.com/apache/mesos/blob/40b40d9b73221388e583fc140280f1eb2b48b832/src/launcher/default_executor.cpp#L1091]
> This could lead to tasks stuck in {{TASK_STARTING}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)