manika137 commented on code in PR #7312:
URL: https://github.com/apache/hadoop/pull/7312#discussion_r1926367235
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java:
##########
@@ -613,6 +615,11 @@ public AbfsClientRenameResult renamePath(
throw e;
}
+ if(op.getResult().getStorageErrorCode()
+ .equals(UNAUTHORIZED_BLOB_OVERWRITE.getErrorCode())){
+ throw new FileAlreadyExistsException("File already exists." );
Review Comment:
As discussed, we're observing other 403 errors with mismatching SAS
tokens/invalid permissions. We see UNAUTHORIZED_BLOB_OVERWRITE only with rename
overwrites. Making changes accordingly.
--
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]