You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "bhattmanish98 (via GitHub)" <gi...@apache.org> on 2025/04/18 10:00:23 UTC

[PR] HADOOP-19522 [branch-3.4]: ABFS: [FnsOverBlob] Rename Recovery Should Succeed When Marker File Exists with Destination Directory [hadoop]

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

   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-unsubscribe@hadoop.apache.org

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


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


Re: [PR] HADOOP-19522 [branch-3.4]: ABFS: [FnsOverBlob] Rename Recovery Should Succeed When Marker File Exists with Destination Directory [hadoop]

Posted by "hadoop-yetus (via GitHub)" <gi...@apache.org>.
hadoop-yetus commented on PR #7633:
URL: https://github.com/apache/hadoop/pull/7633#issuecomment-2815352768

   :confetti_ball: **+1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime |  Logfile | Comment |
   |:----:|----------:|--------:|:--------:|:-------:|
   | +0 :ok: |  reexec  |  18m 35s |  |  Docker mode activated.  |
   |||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  |  No case conflicting files found.  |
   | +0 :ok: |  codespell  |   0m  0s |  |  codespell was not available.  |
   | +0 :ok: |  detsecrets  |   0m  0s |  |  detect-secrets was not available.  |
   | +1 :green_heart: |  @author  |   0m  0s |  |  The patch does not contain any @author tags.  |
   | +1 :green_heart: |  test4tests  |   0m  0s |  |  The patch appears to include 4 new or modified test files.  |
   |||| _ branch-3.4 Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |  39m 23s |  |  branch-3.4 passed  |
   | +1 :green_heart: |  compile  |   0m 40s |  |  branch-3.4 passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04  |
   | +1 :green_heart: |  compile  |   0m 36s |  |  branch-3.4 passed with JDK Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06  |
   | +1 :green_heart: |  checkstyle  |   0m 30s |  |  branch-3.4 passed  |
   | +1 :green_heart: |  mvnsite  |   0m 40s |  |  branch-3.4 passed  |
   | +1 :green_heart: |  javadoc  |   0m 39s |  |  branch-3.4 passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04  |
   | +1 :green_heart: |  javadoc  |   0m 34s |  |  branch-3.4 passed with JDK Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06  |
   | +1 :green_heart: |  spotbugs  |   1m  7s |  |  branch-3.4 passed  |
   | +1 :green_heart: |  shadedclient  |  37m 35s |  |  branch has no errors when building and testing our client artifacts.  |
   |||| _ Patch Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |   0m 29s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 32s |  |  the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04  |
   | +1 :green_heart: |  javac  |   0m 32s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 27s |  |  the patch passed with JDK Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06  |
   | +1 :green_heart: |  javac  |   0m 27s |  |  the patch passed  |
   | +1 :green_heart: |  blanks  |   0m  0s |  |  The patch has no blanks issues.  |
   | +1 :green_heart: |  checkstyle  |   0m 20s |  |  the patch passed  |
   | +1 :green_heart: |  mvnsite  |   0m 30s |  |  the patch passed  |
   | +1 :green_heart: |  javadoc  |   0m 28s |  |  the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04  |
   | +1 :green_heart: |  javadoc  |   0m 25s |  |  the patch passed with JDK Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06  |
   | +1 :green_heart: |  spotbugs  |   1m  6s |  |  the patch passed  |
   | +1 :green_heart: |  shadedclient  |  37m 22s |  |  patch has no errors when building and testing our client artifacts.  |
   |||| _ Other Tests _ |
   | +1 :green_heart: |  unit  |   2m 37s |  |  hadoop-azure in the patch passed.  |
   | +1 :green_heart: |  asflicense  |   0m 35s |  |  The patch does not generate ASF License warnings.  |
   |  |   | 146m 40s |  |  |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | ClientAPI=1.49 ServerAPI=1.49 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7633/1/artifact/out/Dockerfile |
   | GITHUB PR | https://github.com/apache/hadoop/pull/7633 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
   | uname | Linux 981d9eac63ca 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | branch-3.4 / 9eb1037cfc00320dc79b819e336d61b7cb6ecdcc |
   | Default Java | Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06 |
   | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06 |
   |  Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7633/1/testReport/ |
   | Max. process+thread count | 584 (vs. ulimit of 5500) |
   | modules | C: hadoop-tools/hadoop-azure U: hadoop-tools/hadoop-azure |
   | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7633/1/console |
   | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 |
   | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   


-- 
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-unsubscribe@hadoop.apache.org

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


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


Re: [PR] HADOOP-19522 [branch-3.4]: ABFS: [FnsOverBlob] Rename Recovery Should Succeed When Marker File Exists with Destination Directory [hadoop]

Posted by "bhattmanish98 (via GitHub)" <gi...@apache.org>.
bhattmanish98 commented on PR #7633:
URL: https://github.com/apache/hadoop/pull/7633#issuecomment-2815698118

   
   ============================================================
   HNS-OAuth-DFS
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 3
   [WARNING] Tests run: 820, Failures: 0, Errors: 0, Skipped: 172
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 31
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 23
   
   ============================================================
   HNS-SharedKey-DFS
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 4
   [WARNING] Tests run: 820, Failures: 0, Errors: 0, Skipped: 122
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 31
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 10
   
   ============================================================
   NonHNS-SharedKey-DFS
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 11
   [WARNING] Tests run: 804, Failures: 0, Errors: 0, Skipped: 375
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 32
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 11
   
   ============================================================
   AppendBlob-HNS-OAuth-DFS
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 3
   [WARNING] Tests run: 820, Failures: 0, Errors: 0, Skipped: 183
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 55
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 23
   
   ============================================================
   NonHNS-SharedKey-Blob
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 11
   [WARNING] Tests run: 804, Failures: 0, Errors: 0, Skipped: 295
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 27
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 11
   
   ============================================================
   NonHNS-OAuth-DFS
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 11
   [WARNING] Tests run: 804, Failures: 0, Errors: 0, Skipped: 380
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 32
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 24
   
   ============================================================
   NonHNS-OAuth-Blob
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 11
   [WARNING] Tests run: 804, Failures: 0, Errors: 0, Skipped: 300
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 27
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 24
   
   ============================================================
   AppendBlob-NonHNS-OAuth-Blob
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 11
   [WARNING] Tests run: 804, Failures: 0, Errors: 0, Skipped: 320
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 51
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 24
   
   ============================================================
   HNS-Oauth-DFS-IngressBlob
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 3
   [WARNING] Tests run: 820, Failures: 0, Errors: 0, Skipped: 305
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 31
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 23
   
   ============================================================
   NonHNS-OAuth-DFS-IngressBlob
   ============================================================
   
   [WARNING] Tests run: 175, Failures: 0, Errors: 0, Skipped: 11
   [WARNING] Tests run: 804, Failures: 0, Errors: 0, Skipped: 378
   [WARNING] Tests run: 181, Failures: 0, Errors: 0, Skipped: 32
   [WARNING] Tests run: 272, Failures: 0, Errors: 0, Skipped: 24
   


-- 
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-unsubscribe@hadoop.apache.org

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


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


Re: [PR] HADOOP-19522 [branch-3.4]: ABFS: [FnsOverBlob] Rename Recovery Should Succeed When Marker File Exists with Destination Directory [hadoop]

Posted by "anujmodi2021 (via GitHub)" <gi...@apache.org>.
anujmodi2021 merged PR #7633:
URL: https://github.com/apache/hadoop/pull/7633


-- 
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-unsubscribe@hadoop.apache.org

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


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