mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Mazumdar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-5930) Orphan tasks shown as RUNNING have state TASK_FINISHED
Date Fri, 29 Jul 2016 18:18:20 GMT

    [ https://issues.apache.org/jira/browse/MESOS-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399802#comment-15399802
] 

Anand Mazumdar commented on MESOS-5930:
---------------------------------------

It doesn't seem that we the update the task state for active tasks belonging to orphaned frameworks.
We just silently drop such status updates if the framework is unknown i.e. has not (re-)registered.

In {{statusUpdate()}} handler on master:
https://github.com/apache/mesos/blob/master/src/master/master.cpp#L5142

Would be nice to update the state of these tasks based on {{frameworkID}} in the {{tasks}}
map to reflect the recent state. Upon, (re-)registration, the framework would still receive
the retried status updates from the agent.


> Orphan tasks shown as RUNNING have state TASK_FINISHED
> ------------------------------------------------------
>
>                 Key: MESOS-5930
>                 URL: https://issues.apache.org/jira/browse/MESOS-5930
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.0.0
>            Reporter: Lukas Loesche
>         Attachments: Screen Shot 2016-07-29 at 19.23.49.png, Screen Shot 2016-07-29 at
19.24.03.png, orphan-running.txt
>
>
> On my cluster I have 111 Orphan Tasks of which some are RUNNING some are FINISHED and
some are FAILED. When I open the task details for a FINISHED tasks the following page shows
a state of TASK_FINISHED and likewise when I open a FAILED task the details page shows TASK_FAILED.
> However when I open the details for the RUNNING tasks they all have a task state of TASK_FINISHED.
None of them is in state TASK_RUNNING.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message