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

Restarting stuck downloads #309

Open
MattBlissett opened this issue Jul 4, 2023 · 0 comments
Open

Restarting stuck downloads #309

MattBlissett opened this issue Jul 4, 2023 · 0 comments

Comments

@MattBlissett
Copy link
Member

When a download is stuck for some reason (see other issues), we need a way to rerun it.

This code prevents the status being updated to SUCCEEDED:

if (Download.Status.SUCCEEDED.equals(download.getStatus())
|| Download.Status.FAILED.equals(download.getStatus())
|| Download.Status.KILLED.equals(download.getStatus())) {
// Download has already completed, so perhaps callbacks in rapid succession have been
// processed out-of-order
LOG.warn(
"Download {} has finished, but Oozie has sent a RUNNING callback. Ignoring it.",
downloadId);
return;
}

And the recent changes to remove the DOI prevent a DOI from being assigned.

An admin API method to restart a failed download would be useful.

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

No branches or pull requests

1 participant