You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "fuchaohong (Jira)" <ji...@apache.org> on 2023/07/03 09:15:00 UTC
[jira] [Updated] (HDFS-17066) RBF: The construction of the trash path in the downstream nameservice should be based on src locations.
[ 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_ns1/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
/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.{*}
> 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
> Labels: pull-request-available
>
> 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_ns1/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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org