Skip to content

Commit

Permalink
Added correct behaviour for failed cdx/wayback indexing for hadoop jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Oct 5, 2023
1 parent 1eb19c3 commit 630eb93
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ private void hadoopIndex() {
collectHadoopResults(fileSystem, jobOutputDir);
} else {
log.warn("Hadoop job failed with exit code '{}'", exitCode);
this.setIndexingFailedAttempts(indexingFailedAttempts++);
(new ArchiveFileDAO()).update(this);
}
} catch (IOException e) {
log.warn("Failure in indexing {}", filename, e);
Expand Down

0 comments on commit 630eb93

Please sign in to comment.