hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Wu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13255) RBF: Fail when try to remove mount point paths
Date Fri, 09 Mar 2018 13:06:00 GMT
Weiwei Wu created HDFS-13255:
--------------------------------

             Summary: RBF: Fail when try to remove mount point paths
                 Key: HDFS-13255
                 URL: https://issues.apache.org/jira/browse/HDFS-13255
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Weiwei Wu


when delete a ns-fed path which include mount point paths, will issue a error.

Need to delete echo mount point path independently.

Operation step:
{code:java}
[hadp@root]$ hdfs dfsrouteradmin -ls
Mount Table Entries:
Source Destinations Owner Group Mode Quota/Usage
/rm-test-all/rm-test-ns10 ns10->/rm-test hadp hadp rwxr-xr-x [NsQuota: -/-, SsQuota: -/-]
/rm-test-all/rm-test-ns2 ns1->/rm-test hadp hadp rwxr-xr-x [NsQuota: -/-, SsQuota: -/-]
[hadp@root]$ hdfs dfs -ls hdfs://ns-fed/rm-test-all/rm-test-ns10/
Found 2 items
-rw-r--r-- 3 hadp supergroup 3118 2018-03-07 21:52 hdfs://ns-fed/rm-test-all/rm-test-ns10/core-site.xml
-rw-r--r-- 3 hadp supergroup 7481 2018-03-07 21:52 hdfs://ns-fed/rm-test-all/rm-test-ns10/hdfs-site.xml
[hadp@root]$ hdfs dfs -ls hdfs://ns-fed/rm-test-all/rm-test-ns2/
Found 2 items
-rw-r--r-- 3 hadp supergroup 101 2018-03-07 16:57 hdfs://ns-fed/rm-test-all/rm-test-ns2/NOTICE.txt
-rw-r--r-- 3 hadp supergroup 1366 2018-03-07 16:57 hdfs://ns-fed/rm-test-all/rm-test-ns2/README.txt
[hadp@root]$ hdfs dfs -ls hdfs://ns-fed/rm-test-all/rm-test-ns10/
Found 2 items
-rw-r--r-- 3 hadp supergroup 3118 2018-03-07 21:52 hdfs://ns-fed/rm-test-all/rm-test-ns10/core-site.xml
-rw-r--r-- 3 hadp supergroup 7481 2018-03-07 21:52 hdfs://ns-fed/rm-test-all/rm-test-ns10/hdfs-site.xml
[hadp@root]$ hdfs dfs -rm -r hdfs://ns-fed/rm-test-all/
rm: Failed to move to trash: hdfs://ns-fed/rm-test-all. Consider using -skipTrash option
[hadp@root]$ hdfs dfs -rm -r -skipTrash hdfs://ns-fed/rm-test-all/
rm: `hdfs://ns-fed/rm-test-all': Input/output error
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message