apache/hadoop · error · UnsupportedOperationException
Abortable.abort() is not supported
Error message
Abortable.abort() is not supported
What it means
Error "Abortable.abort() is not supported" thrown in apache/hadoop.
Source
Thrown at hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FSDataOutputStream.java:184
*/
@Override
public IOStatistics getIOStatistics() {
return IOStatisticsSupport.retrieveIOStatistics(wrappedStream);
}
/**
* Invoke {@code abort()} on the wrapped stream if it
* is Abortable, otherwise raise an
* {@code UnsupportedOperationException}.
* @throws UnsupportedOperationException if not available.
* @return the result.
*/
@Override
public AbortableResult abort() {
if (wrappedStream instanceof Abortable) {
return ((Abortable) wrappedStream).abort();
} else {
throw new UnsupportedOperationException(
FSExceptionMessages.ABORTABLE_UNSUPPORTED);
}
}
}
View on GitHub (pinned to 2add963021)
Solutions
- Check whether the stream implements Abortable before calling abort().
- For filesystems without abort support (e.g. non-S3A), close the stream and delete the partial output explicitly.
When it happens
Trigger: Thrown at hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FSDataOutputStream.java:184 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/79d60ede61c0e7c2.
Report an issue: GitHub.