You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Meng Zhu (Jira)" <ji...@apache.org> on 2019/09/04 21:28:00 UTC
[jira] [Created] (MESOS-9962) Mesos may report completed task as
running in the state.
Meng Zhu created MESOS-9962:
-------------------------------
Summary: Mesos may report completed task as running in the state.
Key: MESOS-9962
URL: https://issues.apache.org/jira/browse/MESOS-9962
Project: Mesos
Issue Type: Bug
Components: agent
Reporter: Meng Zhu
When the following steps occur:
1) A graceful shutdown is initiated on the agent (i.e. SIGUSR1 or /master/machine/down).
2) The executor is sent a kill, and the agent counts down on executor_shutdown_grace_period.
3) The executor exits, before all terminal status updates reach the agent. This is more likely if executor_shutdown_grace_period passes.
This results in a completed executor, with non-terminal tasks (according to status updates).
This would produce a confusing report where completed tasks are still TASK_RUNNING.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)