[ 
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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to