[
https://issues.apache.org/jira/browse/HDFS-17623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guo Wei reopened HDFS-17623:
----------------------------
> RBF:The router service fails to delete a mount table with multiple
> subclusters mounted on it through MultipleDestinationMountTableResolver
> ------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-17623
> URL: https://issues.apache.org/jira/browse/HDFS-17623
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: rbf
> Affects Versions: 3.4.0
> Reporter: Guo Wei
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> Please see the error message in the following example:
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -mkdir -p
> hdfs://hh-rbf-test1/guov100/data
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -mkdir -p
> hdfs://hh-rbf-test2/guov100/data
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfsrouteradmin -add /guov100/data
> hh-rbf-test1,hh-rbf-test2 /guov100/data -order RANDOM
> Successfully added mount point /guov100/data
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfsrouteradmin -ls
> Mount Table Entries:
> Source Destinations Owner
> Group Mode Quota/Usage
> /guov100/data
> hh-rbf-test1->/guov100/data,hh-rbf-test2->/guov100/data hdfs
> hadoop rwxr-xr-x [NsQuota: -/-, SsQuota: -/-]
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -mkdir
> hdfs://test-fed/guov100/data/test
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -touch
> hdfs://hh-rbf-test1/guov100/data/test/file-test1.txt
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -touch
> hdfs://hh-rbf-test2/guov100/data/test/file-test2.txt
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -ls
> hdfs://hh-rbf-test1/guov100/data/test/
> Found 1 items
> {-}rw-r{-}{-}r{-}- 3 hdfs hdfs 0 2024-09-13 09:56
> hdfs://hh-rbf-test1/guov100/data/test/file-test1.txt
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -ls
> hdfs://hh-rbf-test2/guov100/data/test/
> Found 1 items
> {-}rw-r{-}{-}r{-}- 3 hdfs hdfs 0 2024-09-13 09:56
> hdfs://hh-rbf-test2/guov100/data/test/file-test2.txt
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -ls
> hdfs://test-fed/guov100/data/test/
> Found 2 items
> {-}rw-r{-}{-}r{-}- 3 hdfs hdfs 0 2024-09-13 09:56
> hdfs://test-fed/guov100/data/test/file-test1.txt
> {-}rw-r{-}{-}r{-}- 3 hdfs hdfs 0 2024-09-13 09:56
> hdfs://test-fed/guov100/data/test/file-test2.txt
> [hdfs@sjsy-hh202-zbxh55w root]$
> [hdfs@sjsy-hh202-zbxh55w root]$ hdfs dfs -rm -r
> hdfs://test-fed/guov100/data/test/
> {color:#FF0000}rm: Failed to move to trash:
> hdfs://test-fed/guov100/data/test: Rename of /guov100/data/test to
> /user/hdfs/.Trash/Current/guov100/data/test is not allowed, no eligible
> destination in the same namespace was found.{color}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]