Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description of different states #9

Closed
lastweek opened this issue Oct 10, 2017 · 4 comments
Closed

Description of different states #9

lastweek opened this issue Oct 10, 2017 · 4 comments
Assignees

Comments

@lastweek
Copy link

Hi,
Is it possible to give a short description about the following instance status?

  • Ready
  • Waiting
  • Running
  • Terminated
  • Failed
  • Cancelled
  • Interrupted
@furykerry
Copy link
Collaborator

OK, we will include the description in the next minor release of the cluster data, hopefully recently

@HaiyangDING
Copy link
Collaborator

@lastweek

Sorry about the delay in response. Here is some explanation of the state machine:

  • Task

    • Terminated: A task goes to ‘Terminated’ when all its instances are done
    • Waiting: A task in not initialized yet
    • Failed: Task fails
    • Running: The Task is being processed
  • Instance

    • Terminated: An instance is done
    • Waiting: The instance can not run because some of its dependencies have not finished
    • Running: An Instance is ‘Running’ on a worker
    • Failed: An instance fails
    • Interrupted: It is feature we introduced for backup instance, the instance stops due to some reason

Hope this would help.

@lastweek
Copy link
Author

lastweek commented Jan 1, 2018

@HaiyangDING
Thanks a lot and Happy New Year!

@HaiyangDING
Copy link
Collaborator

The description of state machine of batch workload is added to documentation. Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants