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

Zhigang Luo commented on MESOS-5683:
------------------------------------

Hi Joseph, thanks for your comments. I don't agree the finished tasks are 
moved. I think it should be showed in both side, master and framework.
I think this issue is caused by a wrong logic in Master::updateTask(). It 
should use task->state() instead of status.state() in the switch:

    switch (status.state()) {
      case TASK_FINISHED: ++metrics->tasks_finished; break;
      case TASK_FAILED:   ++metrics->tasks_failed;   break;
      case TASK_KILLED:   ++metrics->tasks_killed;   break;
      case TASK_LOST:     ++metrics->tasks_lost;     break;
      case TASK_ERROR:    ++metrics->tasks_error;    break;
      default:                                       break;
    }

> Can't see the finished tasks when run the Java example framework
> ----------------------------------------------------------------
>
>                 Key: MESOS-5683
>                 URL: https://issues.apache.org/jira/browse/MESOS-5683
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Zhigang Luo
>
> Following the steps in "Getting Started" and run example framework(Java), 
> then can't see the finished tasks from the mesos wed page 
> (http://127.0.0.1:5050).



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

Reply via email to