{"record":{"id":"f1521c5ff65e1810","repo":"apache/hadoop","slug":"copyblobaborted","errorCode":"CopyBlobAborted","errorMessage":"copy to path %s aborted","messagePattern":"copy to path (.+?) aborted","errorType":"http","errorClass":"AbfsRestOperationException","httpStatus":500,"severity":"error","filePath":"hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/BlobRenameHandler.java","lineNumber":562,"sourceCode":"        tracingContext, null, false);\n\n    if (op.getResult() != null && copyId != null\n        && copyId.equals(op.getResult().getResponseHeader(X_MS_COPY_ID))) {\n      final String copyStatus = op.getResult()\n          .getResponseHeader(X_MS_COPY_STATUS);\n      if (COPY_STATUS_SUCCESS.equalsIgnoreCase(copyStatus)) {\n        return BlobCopyProgress.SUCCESS;\n      }\n      if (COPY_STATUS_FAILED.equalsIgnoreCase(copyStatus)) {\n        throw new AbfsRestOperationException(\n            COPY_BLOB_FAILED.getStatusCode(), COPY_BLOB_FAILED.getErrorCode(),\n            String.format(\"copy to path %s failed due to: %s\",\n                dstPath.toUri().getPath(),\n                op.getResult().getResponseHeader(X_MS_COPY_STATUS_DESCRIPTION)),\n            new Exception(COPY_BLOB_FAILED.getErrorCode()));\n      }\n      if (COPY_STATUS_ABORTED.equalsIgnoreCase(copyStatus)) {\n        throw new AbfsRestOperationException(\n            COPY_BLOB_ABORTED.getStatusCode(), COPY_BLOB_ABORTED.getErrorCode(),\n            String.format(\"copy to path %s aborted\", dstPath.toUri().getPath()),\n            new Exception(COPY_BLOB_ABORTED.getErrorCode()));\n      }\n    }\n    return BlobCopyProgress.PENDING;\n  }\n\n  /**\n   * Translates the destination path for a blob part of a source directory getting\n   * renamed.\n   *\n   * @param destinationDir destination directory for the rename operation\n   * @param blobPath path of blob inside sourceDir being renamed.\n   * @param sourceDir source directory for the rename operation\n   *\n   * @return translated path for the blob\n   */","sourceCodeStart":544,"sourceCodeEnd":580,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/BlobRenameHandler.java#L544-L580","documentation":"Error \"copy to path %s aborted\" thrown in apache/hadoop.","triggerScenarios":"The server-side copy for a blob rename is aborted by the storage service.","commonSituations":"See trigger scenarios.","solutions":["Retry the rename; aborted copies can result from transient service conditions.","Check for conflicting concurrent operations on source or destination."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2add9630210752f88ceb1bb74eb65e37bf41da8e","analyzedAt":"2026-08-22T19:55:07.957Z","schemaVersion":2},"datasetVersion":"2026-08-22T20:17:22.307Z"}