We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 001e137 commit 6822054Copy full SHA for 6822054
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java
@@ -619,7 +619,7 @@ public AbfsClientRenameResult renamePath(
619
// ref: HADOOP-19393. Write permission checks can occur before validating
620
// rename operation's validity. If there is an existing destination path, it may be rejected
621
// with an authorization error. Catching and throwing FileAlreadyExistsException instead.
622
- if(op.getResult().getStorageErrorCode()
+ if (op.getResult().getStorageErrorCode()
623
.equals(UNAUTHORIZED_BLOB_OVERWRITE.getErrorCode())){
624
throw new FileAlreadyExistsException(ERR_FILE_ALREADY_EXISTS);
625
}
0 commit comments