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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/10/05 19:58:00 UTC

[jira] [Commented] (HDFS-16024) RBF: Rename data to the Trash should be based on src locations

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

ASF GitHub Bot commented on HDFS-16024:
---------------------------------------

xinglin opened a new pull request, #4962:
URL: https://github.com/apache/hadoop/pull/4962

   
   (cherry picked from commit e18d8062126951b01d04d14374cc04053167735b)
   
   ### Description of PR
   backport of HDFS-16024 from trunk to branch-3.3. 
   minor conflict resolved. The conflict is due to some code refactoring done in HDFS-15766. Not include HDFS-15766 as part of this PR (That should be done as another backport PR).
   
   ### How was this patch tested?
   
   mvn test -Dtest="TestRouterRpc"
   ```
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.hadoop.hdfs.server.federation.router.TestRouterRpc
   [INFO] Tests run: 47, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.225 s - in org.apache.hadoop.hdfs.server.federation.router.TestRouterRpc
   [INFO]
   [INFO] Results:
   [INFO]
   [INFO] Tests run: 47, Failures: 0, Errors: 0, Skipped: 0
   ```
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
   
   




> 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: Xiangyi Zhu
>            Assignee: Xiangyi Zhu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 7h 20m
>  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.20.10#820010)

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