anmolanmol1234 commented on code in PR #7364:
URL: https://github.com/apache/hadoop/pull/7364#discussion_r1959162075
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java:
##########
@@ -754,6 +755,14 @@ public AbfsClientRenameResult renamePath(
throw e;
}
+ // ref: HADOOP-19393. Write permission checks can occur before validating
+ // rename operation's validity. If there is an existing destination
path, it may be rejected
+ // with an authorization error. Catching and throwing
FileAlreadyExistsException instead.
+ if (op.getResult().getStorageErrorCode()
Review Comment:
why is this change showing as a part of this PR ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]