apache/hadoop · error · AbfsRestOperationException
CopyBlobAborted
CopyBlobAborted
Error message
copy to path %s aborted
What it means
Error "copy to path %s aborted" thrown in apache/hadoop.
Source
Thrown at hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/BlobRenameHandler.java:562
tracingContext, null, false);
if (op.getResult() != null && copyId != null
&& copyId.equals(op.getResult().getResponseHeader(X_MS_COPY_ID))) {
final String copyStatus = op.getResult()
.getResponseHeader(X_MS_COPY_STATUS);
if (COPY_STATUS_SUCCESS.equalsIgnoreCase(copyStatus)) {
return BlobCopyProgress.SUCCESS;
}
if (COPY_STATUS_FAILED.equalsIgnoreCase(copyStatus)) {
throw new AbfsRestOperationException(
COPY_BLOB_FAILED.getStatusCode(), COPY_BLOB_FAILED.getErrorCode(),
String.format("copy to path %s failed due to: %s",
dstPath.toUri().getPath(),
op.getResult().getResponseHeader(X_MS_COPY_STATUS_DESCRIPTION)),
new Exception(COPY_BLOB_FAILED.getErrorCode()));
}
if (COPY_STATUS_ABORTED.equalsIgnoreCase(copyStatus)) {
throw new AbfsRestOperationException(
COPY_BLOB_ABORTED.getStatusCode(), COPY_BLOB_ABORTED.getErrorCode(),
String.format("copy to path %s aborted", dstPath.toUri().getPath()),
new Exception(COPY_BLOB_ABORTED.getErrorCode()));
}
}
return BlobCopyProgress.PENDING;
}
/**
* Translates the destination path for a blob part of a source directory getting
* renamed.
*
* @param destinationDir destination directory for the rename operation
* @param blobPath path of blob inside sourceDir being renamed.
* @param sourceDir source directory for the rename operation
*
* @return translated path for the blob
*/View on GitHub (pinned to 2add963021)
Solutions
- Retry the rename; aborted copies can result from transient service conditions.
- Check for conflicting concurrent operations on source or destination.
When it happens
Trigger: The server-side copy for a blob rename is aborted by the storage service.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/f1521c5ff65e1810.
Report an issue: GitHub.