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 attempt output persistence for schedulerv2 #9764

Merged
merged 4 commits into from
Jan 24, 2022

Conversation

jrhizor
Copy link
Contributor

@jrhizor jrhizor commented Jan 24, 2022

@github-actions github-actions bot added area/platform issues related to the platform area/worker Related to worker labels Jan 24, 2022
@jrhizor jrhizor temporarily deployed to more-secrets January 24, 2022 20:09 Inactive
@jrhizor jrhizor temporarily deployed to more-secrets January 24, 2022 20:11 Inactive
final JobOutput jobOutput = new JobOutput().withSync(input.getStandardSyncOutput());
jobPersistence.writeOutput(input.getJobId(), input.getAttemptId(), jobOutput);
} else {
log.warn("The job {} doesn't have an input for the attempt {}", input.getJobId(), input.getAttemptId());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be "doesn't have any output" instead of "doesn't have an input"

@jrhizor jrhizor temporarily deployed to more-secrets January 24, 2022 20:20 Inactive
@jrhizor jrhizor merged commit f5b5fea into master Jan 24, 2022
@jrhizor jrhizor deleted the jrhizor/fix-attempt-output-persistence branch January 24, 2022 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform area/worker Related to worker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants