hadoop icon indicating copy to clipboard operation
hadoop copied to clipboard

HDFS-17855. ViewFS with linkMergeSlash generates invalid paths during listStatus/listLocatedStatus operations, causing InvalidPathException or incorrect path resolution

Open koodin9 opened this issue 1 year ago • 2 comments

Description of PR

ViewFS with linkMergeSlash generates invalid paths during listStatus/listLocatedStatus operations, causing InvalidPathException or incorrect path resolution.

How was this patch tested?

Added test codes

For code changes:

  • [x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
  • [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
  • [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
  • [ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

koodin9 avatar Nov 26 '25 05:11 koodin9

:broken_heart: -1 overall

Vote Subsystem Runtime Logfile Comment
+0 :ok: reexec 0m 59s Docker mode activated.
_ Prechecks _
+1 :green_heart: dupname 0m 0s No case conflicting files found.
+0 :ok: codespell 0m 1s codespell was not available.
+0 :ok: detsecrets 0m 1s 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 1 new or modified test files.
_ trunk Compile Tests _
+0 :ok: mvndep 7m 52s Maven dependency ordering for branch
+1 :green_heart: mvninstall 28m 27s trunk passed
+1 :green_heart: compile 15m 42s trunk passed with JDK Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04
+1 :green_heart: compile 15m 56s trunk passed with JDK Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04
+1 :green_heart: checkstyle 2m 54s trunk passed
+1 :green_heart: mvnsite 3m 43s trunk passed
+1 :green_heart: javadoc 2m 38s trunk passed with JDK Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04
+1 :green_heart: javadoc 2m 35s trunk passed with JDK Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04
-1 :x: spotbugs 3m 0s /branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html hadoop-common-project/hadoop-common in trunk has 448 extant spotbugs warnings.
-1 :x: spotbugs 4m 1s /branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html hadoop-hdfs-project/hadoop-hdfs in trunk has 291 extant spotbugs warnings.
+1 :green_heart: shadedclient 29m 49s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 :ok: mvndep 0m 30s Maven dependency ordering for patch
+1 :green_heart: mvninstall 2m 29s the patch passed
+1 :green_heart: compile 15m 11s the patch passed with JDK Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04
+1 :green_heart: javac 15m 11s the patch passed
+1 :green_heart: compile 16m 18s the patch passed with JDK Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04
+1 :green_heart: javac 16m 18s the patch passed
+1 :green_heart: blanks 0m 0s The patch has no blanks issues.
-0 :warning: checkstyle 3m 9s /results-checkstyle-root.txt root: The patch generated 1 new + 24 unchanged - 0 fixed = 25 total (was 24)
+1 :green_heart: mvnsite 3m 42s the patch passed
+1 :green_heart: javadoc 2m 45s the patch passed with JDK Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04
+1 :green_heart: javadoc 2m 41s the patch passed with JDK Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04
+1 :green_heart: spotbugs 7m 25s the patch passed
+1 :green_heart: shadedclient 29m 44s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 :green_heart: unit 21m 58s hadoop-common in the patch passed.
-1 :x: unit 213m 18s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 :x: asflicense 1m 15s /results-asflicense.txt The patch generated 1 ASF License warnings.
438m 13s
Reason Tests
Failed junit tests hadoop.hdfs.tools.TestDFSAdmin
Subsystem Report/Notes
Docker ClientAPI=1.52 ServerAPI=1.52 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8102/1/artifact/out/Dockerfile
GITHUB PR https://github.com/apache/hadoop/pull/8102
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets
uname Linux c19fc805b987 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / b5428d0f5e3597d49555072bd51dc0ea7fe20984
Default Java Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04
Multi-JDK versions /usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8102/1/testReport/
Max. process+thread count 3475 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8102/1/console
versions git=2.25.1 maven=3.9.11 spotbugs=4.9.7
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

hadoop-yetus avatar Nov 26 '25 13:11 hadoop-yetus

@manojpec @eddyxu Hello, could you please review the above PR?

koodin9 avatar Dec 09 '25 07:12 koodin9