bhattmanish98 opened a new pull request, #7559:
URL: https://github.com/apache/hadoop/pull/7559

   JIRA: https://issues.apache.org/jira/browse/HADOOP-19522
   On the blob endpoint, since rename is not a direct operation but a 
combination of two operations—copy and delete—in the case of directory rename, 
we first rename all the blobs that have the source prefix and, at the end, 
rename the source to the destination.
   
   In the normal rename flow, renaming is not allowed if the destination 
already exists. However, in the case of recovery, there is a possibility that 
some files have already been renamed from the source to the destination. With 
the recent change 
([HADOOP-19474](https://issues.apache.org/jira/browse/HADOOP-19474) ABFS: 
[FnsOverBlob] Listing Optimizations to avoid multiple iteration over list 
response. - ASF JIRA), where we create a marker if the path is implicit, rename 
recovery will fail at the end when it tries to rename the source to the 
destination after renaming all the files.
   
   To fix this, while renaming the source to the destination, if we encounter 
an error indicating that the path already exists, we will suppress the error 
and mark the rename recovery as successful.


-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to