apache/flink · error · UnsupportedOperationException
Persists the path-based part file write is not supported
Error message
Persists the path-based part file write is not supported
What it means
Error "Persists the path-based part file write is not supported" thrown in apache/flink.
Source
Thrown at flink-formats/flink-hadoop-bulk/src/main/java/org/apache/flink/formats/hadoop/bulk/HadoopPathBasedPartFileWriter.java:264
bb.get(tempFilePathBytes);
String tempFilePath = new String(tempFilePathBytes, CHARSET);
long fileSize = bb.getLong();
return new HadoopPathBasedPendingFileRecoverable(
new Path(targetFilePath), new Path(tempFilePath), fileSize);
}
}
private static class UnsupportedInProgressFileRecoverableSerializable
implements SimpleVersionedSerializer<InProgressFileRecoverable> {
static final UnsupportedInProgressFileRecoverableSerializable INSTANCE =
new UnsupportedInProgressFileRecoverableSerializable();
@Override
public int getVersion() {
throw new UnsupportedOperationException(
"Persists the path-based part file write is not supported");
}
@Override
public byte[] serialize(InProgressFileRecoverable obj) {
throw new UnsupportedOperationException(
"Persists the path-based part file write is not supported");
}
@Override
public InProgressFileRecoverable deserialize(int version, byte[] serialized) {
throw new UnsupportedOperationException(
"Persists the path-based part file write is not supported");
}
}
/**
* Factory to create {@link HadoopPathBasedPartFileWriter}. This writer does not supportView on GitHub (pinned to 2f3c205e92)
Solutions
- Address the cause reported by the error message: Persists the path-based part file write is not supported
- Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry.
Example fix
Correct the condition described ("Persists the path-based part file write is not supported") and rerun the job or command. When it happens
Trigger: Triggered at runtime when the operation fails because: Persists the path-based part file write is not supported.
Common situations: Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Persists the path-based part file write is not supported.
AI-assisted analysis of apache/flink@2f3c205e92 (2026-08-14).
Data as JSON: /api/errors/fd6e48ad634c389e.
Report an issue: GitHub.