[ 
https://issues.apache.org/jira/browse/HADOOP-18012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17706887#comment-17706887
 ] 

ASF GitHub Bot commented on HADOOP-18012:
-----------------------------------------

steveloughran commented on PR #5488:
URL: https://github.com/apache/hadoop/pull/5488#issuecomment-1490292881

   +1 pending the merge and checkstyle issues
   ```
   
./hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClientRenameResult.java:64:
    return "AbfsClientRenameResult{" +:38: '+' should be on a new line. 
[OperatorWrap]
   
./hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClientRenameResult.java:65:
        "op=" + op +:20: '+' should be on a new line. [OperatorWrap]
   
./hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClientRenameResult.java:66:
        ", renameRecovered=" + renameRecovered +:48: '+' should be on a new 
line. [OperatorWrap]
   
./hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClientRenameResult.java:67:
        ", isIncompleteMetadataState=" + isIncompleteMetadataState +:68: '+' 
should be on a new line. [OperatorWrap]
   
./hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsRestOperation.java:343:
    switch(client.getAuthType()) {: switch without "default" clause. 
[MissingSwitchDefault]
   
./hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemDelegationSAS.java:29:import
 org.apache.hadoop.fs.azurebfs.utils.TracingContext;:8: Unused import - 
org.apache.hadoop.fs.azurebfs.utils.TracingContext. [UnusedImports]
   ```
   
   can you change this from draft to "ready for review" so I can merge this 
once you've done those




> ABFS: Enable config controlled ETag check for Rename idempotency
> ----------------------------------------------------------------
>
>                 Key: HADOOP-18012
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18012
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.3.2
>            Reporter: Sneha Vijayarajan
>            Assignee: Sree Bhattacharyya
>            Priority: Major
>              Labels: pull-request-available
>
> ABFS driver has a handling for rename idempotency which relies on LMT of the 
> destination file to conclude if the rename was successful or not when source 
> file is absent and if the rename request had entered retry loop.
> This handling is incorrect as LMT of the destination does not change on 
> rename. 
> This Jira will track the change to undo the current implementation and add a 
> new one where for an incoming rename operation, source file eTag is fetched 
> first and then rename is done only if eTag matches for the source file.
> As this is going to be a costly operation given an extra HEAD request is 
> added to each rename, this implementation will be guarded over a config and 
> can enabled by customers who have workloads that do multiple renames. 
> Long term plan to handle rename idempotency without HEAD request is being 
> discussed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to