apache/hadoop · error · AbfsDriverException

Error while recovering from create failure.

Error message

Error while recovering from create failure.

What it means

Error "Error while recovering from create failure." thrown in apache/hadoop.

Source

Thrown at hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java:471

          }
        }
      } else {
        // recovery using client transaction id only if it is a retried request.
        if (op.isARetriedRequest() && clientTransactionId != null
            && (op.getResult().getStatusCode() == HttpURLConnection.HTTP_CONFLICT
            || op.getResult().getStatusCode() == HttpURLConnection.HTTP_PRECON_FAILED)) {
          try {
            final AbfsHttpOperation getPathStatusOp =
                getPathStatus(path, false,
                    tracingContext, null).getResult();
            if (clientTransactionId.equals(
                getPathStatusOp.getResponseHeader(
                    X_MS_CLIENT_TRANSACTION_ID))) {
              return getSuccessOp(AbfsRestOperationType.CreatePath,
                  HTTP_METHOD_PUT, url, requestHeaders);
            }
          } catch (AzureBlobFileSystemException exception) {
            throw new AbfsDriverException(ERR_CREATE_RECOVERY, exception);
          }
        }
      }
      throw ex;
    }
    return op;
  }

  /** {@inheritDoc} */
  public void createNonRecursivePreCheck(Path parentPath,
      TracingContext tracingContext)
      throws IOException {
    try {
      getPathStatus(parentPath.toUri().getPath(), false,
          tracingContext, null);
    } catch (AbfsRestOperationException ex) {
      if (ex.getStatusCode() == HttpURLConnection.HTTP_NOT_FOUND) {
        throw new FileNotFoundException("Cannot create file "

View on GitHub (pinned to 2add963021)

Solutions

  1. Inspect the preceding create failure in logs; the recovery path surfaces the original storage error.
  2. Retry the create; check for concurrent writers or precondition failures on the path.

When it happens

Trigger: ABFS attempts to recover an ambiguous create result on the DFS endpoint and the recovery itself fails.

Common situations: See trigger scenarios.


AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22). Data as JSON: /api/errors/89a4e3baffb0e231. Report an issue: GitHub.