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

Fix: Wait until the submitter finishes before updating job state #619

Merged
merged 2 commits into from
Feb 1, 2023

Conversation

yolgun
Copy link
Contributor

@yolgun yolgun commented Feb 1, 2023

Currently, when the job succeeds but the submitter fails, it is reported as Succeeded. In some cases, it is also reported that the cluster is torn down before submitter finishes.

This commit:

  • Wait until the submitter finishes before marking a job as succeeded
  • If the submitter fails, its log is added as failure reason.

Currently, when the job succeeds but the submitter fails, it is reported as Succeeded. In some cases, it is also reported that the cluster is torn down before submitter finishes.

This commit:
- Wait until the submitter finishes before marking a job as succeeded
- If the submitter fails, its log is added as failure reason.
@yolgun yolgun requested review from regadas and live-wire February 1, 2023 14:29
@regadas regadas changed the title fix when job succeeds but submitter fails Fix: Wait until the submitter finishes before updating job state Feb 1, 2023
@regadas regadas merged commit 2dd656f into spotify:master Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants