zhuxiangyi commented on pull request #3009: URL: https://github.com/apache/hadoop/pull/3009#issuecomment-841979980
@ferhui Thanks you for your comments. Different NS in our production environment have many identical users. **for example:** /user/userA Ns1 -> /user/userA /home/userA Ns2 -> /home/userA userA : hadoop fs -rm /home/userA/test In this case, the router cannot be successful. > 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. In this case, the Router cannot move the data to the recycle bin. As you commented, Shell will fs.Exist(TrashPath) and fs.Mkdir(TrashPath). In this case, the Router cannot find the mount point. > 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 This situation is feasible because Shell fs.Exist(TrashPath) and fs.Mkdir(TrashPath) are passable. With this solution, as long as there is a mount point for Trash and the Trash directory exists, Router can move data to Trash. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org