[ 
https://issues.apache.org/jira/browse/HDFS-16024?focusedWorklogId=597507&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-597507
 ]

ASF GitHub Bot logged work on HDFS-16024:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/May/21 08:52
            Start Date: 17/May/21 08:52
    Worklog Time Spent: 10m 
      Work Description: ferhui edited a comment on pull request #3009:
URL: https://github.com/apache/hadoop/pull/3009#issuecomment-842146030


   @zhuxiangyi Thanks for comments!
   > With this solution, as long as there is a mount point for Trash and the 
Trash directory exists, Router can move data to Trash.
   
   I want to know more details.
   In your example, 
   
   > /user/userA Ns1 -> /user/userA
   > /home/userA Ns2 -> /home/userA
   
   If we want to rm  /home/userA/somefile, TrashPolicyDefault will try to mkdir 
 /user/userA/.Trash/Current/home/userA (called baseTrashPath), the 
baseTrashPath will be create on Ns1. If the baseTrashPath does not exist on 
Ns2, the following rename will fail, is it right? when does the baseTrashPath 
create on Ns2?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 597507)
    Time Spent: 2h 50m  (was: 2h 40m)

> RBF: Rename data to the Trash should be based on src locations
> --------------------------------------------------------------
>
>                 Key: HDFS-16024
>                 URL: https://issues.apache.org/jira/browse/HDFS-16024
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: rbf
>    Affects Versions: 3.4.0
>            Reporter: zhu
>            Assignee: zhu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> 1.When deleting data to the Trash without configuring a mount point for the 
> Trash, the Router should recognize and move the data to the Trash
> 2.When the user’s trash can is configured with a mount point and is different 
> from the NS of the deleted directory, the router should identify and move the 
> data to the trash can of the current user of src
> The same is true for using ViewFs mount points, I think we should be 
> consistent with it



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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