You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2016/04/08 22:53:25 UTC

[jira] [Created] (REEF-1327) Creating task states and state transitions

Julia created REEF-1327:
---------------------------

             Summary: Creating task states and state transitions
                 Key: REEF-1327
                 URL: https://issues.apache.org/jira/browse/REEF-1327
             Project: REEF
          Issue Type: Task
            Reporter: Julia


To support fault tolerant, we need to track task states and ensure the correct/allowed state transitions. 

Here are the task states:
        TaskNew,
        TaskSubmitting,
        TaskRunning,
        TaskCompeleted,
        TaskWaitingForClose,
        TaskClosedByDriver,
        TaskFailedByEvaluatorFailure,
        TaskFailedByGroupCommunication,
        TaskFailedAppError,
        TaskFailedSystemError

Here are the events  taht trigger the state transition:
        SubmittingTask,
        RunningTask,
        CompleteTask,
        WaitingTaskToClose,
        CloseTask,
        FailTaskAppError,
        FailTaskSystemError,
        FaileTaskEvaluatorError,
        FailTaskCommuError

The state transition diagram is defined the the Fault Tolerant design doc. It is attached. 



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