apache/hadoop · error · IOException
Failed to promote checkpoint${tmpfile(dst)} -> ${dst}
Error message
Failed to promote checkpoint${tmpfile(dst)} -> ${dst} What it means
Error "Failed to promote checkpoint${tmpfile(dst)} -> ${dst}" thrown in apache/hadoop.
Source
Thrown at hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/checkpoint/FSCheckpointService.java:151
@Override
public boolean isOpen() {
return isOpen;
}
}
@Override
public CheckpointID commit(CheckpointWriteChannel ch)
throws IOException, InterruptedException {
if (ch.isOpen()) {
ch.close();
}
FSCheckpointWriteChannel hch = (FSCheckpointWriteChannel)ch;
Path dst = hch.getDestination();
if (!fs.rename(tmpfile(dst), dst)) {
// attempt to clean up
abort(ch);
throw new IOException("Failed to promote checkpoint" +
tmpfile(dst) + " -> " + dst);
}
return new FSCheckpointID(hch.getDestination());
}
@Override
public void abort(CheckpointWriteChannel ch) throws IOException {
if (ch.isOpen()) {
ch.close();
}
FSCheckpointWriteChannel hch = (FSCheckpointWriteChannel)ch;
Path tmp = tmpfile(hch.getDestination());
try {
if (!fs.delete(tmp, false)) {
throw new IOException("Failed to delete checkpoint during abort");
}
} catch (FileNotFoundException e) {
// IGNOREView on GitHub (pinned to 2add963021)
Solutions
- Check filesystem permissions and available space for the checkpoint directory; the atomic rename from the temp file failed, so retry after resolving the FS error.
When it happens
Trigger: Thrown at hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/checkpoint/FSCheckpointService.java:151 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/83f6616ea0be98fb.
Report an issue: GitHub.