THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
PlantUML |
---|
@startuml hide empty description [*] -> Created Created --> Waiting : Start scheduling state "Waiting for resources" as Waiting Waiting --> Waiting : Resources are not stable yet Waiting --> Executing : Resources are stable Waiting --> Finished : Cancel or suspend Executing --> Canceling : Cancel Executing --> Failing : Unrecoverable fault Executing --> Finished : Suspend or job reached terminal state Executing --> Restarting : Recoverable fault Restarting --> Finished : Suspend Restarting --> Canceling : Cancel Restarting --> Waiting : Cancelation complete Canceling --> Finished : Cancelation complete Failing --> Finished : Failing complete Finished -> [*] @enduml |
The states have the following semantics:
- Created: Initial state of the scheduler
- Waiting for resources: The required resources are declared. The scheduler waits until either the requirements are fulfilled or the set of resources has stabilised.
- Executing: The set of resources is stable and the scheduler could decide on the parallelism with which to execute the job. The ExecutionGraph is created and the execution of the job has started.
- Restarting: A recoverable fault has occurred. The scheduler stops the ExecutionGraph by canceling it.
- Canceling: The job has been canceled by the user. The scheduler stops the ExecutionGraph by canceling it.
- Failing: An unrecoverable fault has occurred. The scheduler stops the ExecutionGraph by canceling it.
- Finished: The job execution has been completed.
Components of the scheduler
...