Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The webui's home page displays a list of active tasks; this list is constructed from the list of non-completed framework tasks. If a framework has not yet acknowledged a terminal status update, the list of "active tasks" can contain tasks in terminal states which is confusing to users, e.g.,
- launch sleep 10 with mesos-execute
- after the task is launch suspend the mesos-execute process
- after 10s the list of active tasks contains a FINISHED task
or
- launch sleep 100000 with mesos-execute
- after the task is launch suspend the mesos-execute process
- kill the sleep system process
- the list of active tasks contains a FAILED task
The underlying issue here is that what is displayed in the webui very directly reflects the list of tasks in master Framework objects. There tasks holds tasks the master needs to track (since they might e.g., still be running, or the frameworks need to be notified of status changes, etc.), while e.g. completedTasks holds tasks of just historic interest since they do not anymore require any master actions.
Exposing this information in such an unfiltered way is likely confusing. While this applies to the state endpoint like it does to the webui, a fix should be easier to accomplish in the ui. We could there add some (visual?) clue that active tasks in terminal states are analogous to zombie processes.
Attachments
Issue Links
- is duplicated by
-
MESOS-5998 FINISHED task shown as Active in the UI
-
- Resolved
-