[
https://issues.apache.org/jira/browse/HDFS-17066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
fuchaohong updated HDFS-17066:
------------------------------
Description:
When deleting data to the Trash from a mount point, the Router should create
trash path be consistent with downstream nameservice path.
Mount Table Entries:
Source Destinations
/tmp_ns1 ns1->/tmp
hdfs dfs -rm -f /tmp_ns2/test
The downstream nameservice trash-path is
/user/xxx/.Trash/Current{*}/tmp_ns1/test{*}, should be
/user/xxx/.Trash/Current{*}/tmp/test.{*}
was:
When deleting data to the Trash from a mount point, the Router should create
trash path be consistent with downstream nameservice path.
Mount Table Entries:
Source Destinations Owner
Group Mode Quota/Usage
/tmp_ns2 ctyunns2->/tmp hdfs
hdfs rwxrwxrwx [NsQuota: -/-, SsQuota: -/-]
hdfs dfs -rm -f /tmp_ns2/test
> RBF: The construction of the trash path in the downstream nameservice should
> be based on src locations.
> -------------------------------------------------------------------------------------------------------
>
> Key: HDFS-17066
> URL: https://issues.apache.org/jira/browse/HDFS-17066
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: rbf
> Reporter: fuchaohong
> Priority: Major
>
> When deleting data to the Trash from a mount point, the Router should create
> trash path be consistent with downstream nameservice path.
> Mount Table Entries:
> Source Destinations
> /tmp_ns1 ns1->/tmp
> hdfs dfs -rm -f /tmp_ns2/test
> The downstream nameservice trash-path is
> /user/xxx/.Trash/Current{*}/tmp_ns1/test{*}, should be
> /user/xxx/.Trash/Current{*}/tmp/test.{*}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]