[jira] [Commented] (HDFS-16570) RBF: The router using MultipleDestinationMountTableResolver remove Multiple subcluster data under the mount point failed
[ https://issues.apache.org/jira/browse/HDFS-16570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17836885#comment-17836885 ] ASF GitHub Bot commented on HDFS-16570: --- zhangxiping1 closed pull request #4269: HDFS-16570 RBF: The router using MultipleDestinationMountTableResolve… URL: https://github.com/apache/hadoop/pull/4269 > RBF: The router using MultipleDestinationMountTableResolver remove Multiple > subcluster data under the mount point failed > > > Key: HDFS-16570 > URL: https://issues.apache.org/jira/browse/HDFS-16570 > Project: Hadoop HDFS > Issue Type: Bug > Components: rbf >Reporter: Xiping Zhang >Priority: Major > Labels: pull-request-available > Time Spent: 2h > Remaining Estimate: 0h > > Please look at the following example : > hadoop>{color:#FF}hdfs dfsrouteradmin -add /home/data ns0,ns1 /home/data > -order RANDOM{color} > Successfully removed mount point /home/data > hadoop>{color:#FF}hdfs dfsrouteradmin -ls{color} > Mount Table Entries: > Source Destinations Owner > Group Mode Quota/Usage > /home/data ns0->/home/data,ns1->/home/data zhangxiping > Administrators rwxr-xr-x [NsQuota: -/-, SsQuota: -/-] > hadoop>{color:#FF}hdfs dfs -touch > hdfs://ns0/home/data/test/fileNs0.txt{color} > hadoop>{color:#FF}hdfs dfs -touch > hdfs://ns1/home/data/test/fileNs1.txt{color} > hadoop>{color:#FF}hdfs dfs -ls > hdfs://ns0/home/data/test/fileNs0.txt{color} > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://ns0/home/data/test/fileNs0.txt > hadoop>{color:#FF}hdfs dfs -ls > hdfs://ns1/home/data/test/fileNs1.txt{color} > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://ns1/home/data/test/fileNs1.txt > hadoop>{color:#FF}hdfs dfs -ls > hdfs://127.0.0.1:40250/home/data/test{color} > Found 2 items > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://127.0.0.1:40250/home/data/test/fileNs0.txt > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://127.0.0.1:40250/home/data/test/fileNs1.txt > hadoop>{color:#FF}hdfs dfs -rm -r > hdfs://127.0.0.1:40250/home/data/test{color} > rm: Failed to move to trash: hdfs://127.0.0.1:40250/home/data/test: rename > destination parent /user/zhangxiping/.Trash/Current/home/data/test not found. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-16570) RBF: The router using MultipleDestinationMountTableResolver remove Multiple subcluster data under the mount point failed
[ https://issues.apache.org/jira/browse/HDFS-16570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17751162#comment-17751162 ] ASF GitHub Bot commented on HDFS-16570: --- hadoop-yetus commented on PR #4269: URL: https://github.com/apache/hadoop/pull/4269#issuecomment-1665855569 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 0m 37s | | 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 | 13m 57s | | Maven dependency ordering for branch | | +1 :green_heart: | mvninstall | 30m 41s | | trunk passed | | +1 :green_heart: | compile | 17m 3s | | trunk passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04 | | +1 :green_heart: | compile | 16m 26s | | trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05 | | +1 :green_heart: | checkstyle | 4m 29s | | trunk passed | | +1 :green_heart: | mvnsite | 3m 36s | | trunk passed | | +1 :green_heart: | javadoc | 2m 48s | | trunk passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04 | | +1 :green_heart: | javadoc | 2m 55s | | trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05 | | +1 :green_heart: | spotbugs | 6m 9s | | trunk passed | | +1 :green_heart: | shadedclient | 37m 5s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +0 :ok: | mvndep | 0m 33s | | Maven dependency ordering for patch | | +1 :green_heart: | mvninstall | 2m 11s | | the patch passed | | +1 :green_heart: | compile | 16m 19s | | the patch passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04 | | +1 :green_heart: | javac | 16m 19s | | the patch passed | | +1 :green_heart: | compile | 16m 20s | | the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05 | | +1 :green_heart: | javac | 16m 20s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | -0 :warning: | checkstyle | 4m 21s | [/results-checkstyle-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4269/4/artifact/out/results-checkstyle-root.txt) | root: The patch generated 3 new + 53 unchanged - 0 fixed = 56 total (was 53) | | +1 :green_heart: | mvnsite | 3m 31s | | the patch passed | | +1 :green_heart: | javadoc | 2m 42s | | the patch passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04 | | +1 :green_heart: | javadoc | 2m 51s | | the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05 | | +1 :green_heart: | spotbugs | 6m 24s | | the patch passed | | +1 :green_heart: | shadedclient | 36m 53s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | +1 :green_heart: | unit | 19m 16s | | hadoop-common in the patch passed. | | -1 :x: | unit | 215m 42s | [/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4269/4/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt) | hadoop-hdfs in the patch passed. | | +1 :green_heart: | asflicense | 1m 27s | | The patch does not generate ASF License warnings. | | | | 467m 18s | | | | Reason | Tests | |---:|:--| | Failed junit tests | hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4269/4/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/4269 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets | | uname | Linux 1990e5a9dcfa 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / dc0504ac98b9af96f257405b8717f4ea25e3f26b | | Default Java | Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05 | | Multi-JDK versions |
[jira] [Commented] (HDFS-16570) RBF: The router using MultipleDestinationMountTableResolver remove Multiple subcluster data under the mount point failed
[ https://issues.apache.org/jira/browse/HDFS-16570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17533198#comment-17533198 ] Xiping Zhang commented on HDFS-16570: - cc [~fengnanli] [~ayushtkn] [~zhuxiangyi] , could you please review this issue? > RBF: The router using MultipleDestinationMountTableResolver remove Multiple > subcluster data under the mount point failed > > > Key: HDFS-16570 > URL: https://issues.apache.org/jira/browse/HDFS-16570 > Project: Hadoop HDFS > Issue Type: Bug > Components: rbf >Reporter: Xiping Zhang >Priority: Major > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > Please look at the following example : > hadoop>{color:#FF}hdfs dfsrouteradmin -add /home/data ns0,ns1 /home/data > -order RANDOM{color} > Successfully removed mount point /home/data > hadoop>{color:#FF}hdfs dfsrouteradmin -ls{color} > Mount Table Entries: > Source Destinations Owner > Group Mode Quota/Usage > /home/data ns0->/home/data,ns1->/home/data zhangxiping > Administrators rwxr-xr-x [NsQuota: -/-, SsQuota: -/-] > hadoop>{color:#FF}hdfs dfs -touch > hdfs://ns0/home/data/test/fileNs0.txt{color} > hadoop>{color:#FF}hdfs dfs -touch > hdfs://ns1/home/data/test/fileNs1.txt{color} > hadoop>{color:#FF}hdfs dfs -ls > hdfs://ns0/home/data/test/fileNs0.txt{color} > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://ns0/home/data/test/fileNs0.txt > hadoop>{color:#FF}hdfs dfs -ls > hdfs://ns1/home/data/test/fileNs1.txt{color} > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://ns1/home/data/test/fileNs1.txt > hadoop>{color:#FF}hdfs dfs -ls > hdfs://127.0.0.1:40250/home/data/test{color} > Found 2 items > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://127.0.0.1:40250/home/data/test/fileNs0.txt > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://127.0.0.1:40250/home/data/test/fileNs1.txt > hadoop>{color:#FF}hdfs dfs -rm -r > hdfs://127.0.0.1:40250/home/data/test{color} > rm: Failed to move to trash: hdfs://127.0.0.1:40250/home/data/test: rename > destination parent /user/zhangxiping/.Trash/Current/home/data/test not found. -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-16570) RBF: The router using MultipleDestinationMountTableResolver remove Multiple subcluster data under the mount point failed
[ https://issues.apache.org/jira/browse/HDFS-16570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17533169#comment-17533169 ] Xiping Zhang commented on HDFS-16570: - The trash path is resolved by removing the prefix of the trash path. In the isPathAll() function, the prefix of the Trash path also needs to be processed, but I think it is only necessary to determine whether it is the Trash path. > RBF: The router using MultipleDestinationMountTableResolver remove Multiple > subcluster data under the mount point failed > > > Key: HDFS-16570 > URL: https://issues.apache.org/jira/browse/HDFS-16570 > Project: Hadoop HDFS > Issue Type: Bug > Components: rbf >Reporter: Xiping Zhang >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > Please look at the following example : > hadoop>{color:#FF}hdfs dfsrouteradmin -add /home/data ns0,ns1 /home/data > -order RANDOM{color} > Successfully removed mount point /home/data > hadoop>{color:#FF}hdfs dfsrouteradmin -ls{color} > Mount Table Entries: > Source Destinations Owner > Group Mode Quota/Usage > /home/data ns0->/home/data,ns1->/home/data zhangxiping > Administrators rwxr-xr-x [NsQuota: -/-, SsQuota: -/-] > hadoop>{color:#FF}hdfs dfs -touch > hdfs://ns0/home/data/test/fileNs0.txt{color} > hadoop>{color:#FF}hdfs dfs -touch > hdfs://ns1/home/data/test/fileNs1.txt{color} > hadoop>{color:#FF}hdfs dfs -ls > hdfs://ns0/home/data/test/fileNs0.txt{color} > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://ns0/home/data/test/fileNs0.txt > hadoop>{color:#FF}hdfs dfs -ls > hdfs://ns1/home/data/test/fileNs1.txt{color} > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://ns1/home/data/test/fileNs1.txt > hadoop>{color:#FF}hdfs dfs -ls > hdfs://127.0.0.1:40250/home/data/test{color} > Found 2 items > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://127.0.0.1:40250/home/data/test/fileNs0.txt > {-}rw-r{-}{-}r{-}- 3 zhangxiping supergroup 0 2022-05-06 18:01 > hdfs://127.0.0.1:40250/home/data/test/fileNs1.txt > hadoop>{color:#FF}hdfs dfs -rm -r > hdfs://127.0.0.1:40250/home/data/test{color} > rm: Failed to move to trash: hdfs://127.0.0.1:40250/home/data/test: rename > destination parent /user/zhangxiping/.Trash/Current/home/data/test not found. -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org