apache/hadoop · error · IOException
Checkpoint cannot be an absolute path
Error message
Checkpoint cannot be an absolute path
What it means
Error "Checkpoint cannot be an absolute path" 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:57
private final CheckpointNamingService namingPolicy;
private final short replication;
public FSCheckpointService(FileSystem fs, Path base,
CheckpointNamingService namingPolicy, short replication) {
this.fs = fs;
this.base = base;
this.namingPolicy = namingPolicy;
this.replication = replication;
}
public CheckpointWriteChannel create()
throws IOException {
String name = namingPolicy.getNewName();
Path p = new Path(name);
if (p.isUriPathAbsolute()) {
throw new IOException("Checkpoint cannot be an absolute path");
}
return createInternal(new Path(base, p));
}
CheckpointWriteChannel createInternal(Path name) throws IOException {
//create a temp file, fail if file exists
return new FSCheckpointWriteChannel(name, fs.create(tmpfile(name),
replication));
}
private static class FSCheckpointWriteChannel
implements CheckpointWriteChannel {
private boolean isOpen = true;
private final Path finalDst;
private final WritableByteChannel out;
FSCheckpointWriteChannel(Path finalDst, FSDataOutputStream out) {View on GitHub (pinned to 2add963021)
Solutions
- Configure the checkpoint path as a relative path under the checkpoint service's base directory, not an absolute path.
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:57 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/d11ffb124d2df152.
Report an issue: GitHub.