[ https://issues.apache.org/jira/browse/HDFS-17269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801101#comment-17801101 ]
ASF GitHub Bot commented on HDFS-17269: --------------------------------------- LiuGuH commented on PR #6312: URL: https://github.com/apache/hadoop/pull/6312#issuecomment-1871784857 > @LiuGuH Would it be more chaotic to display the trash directories of all clusters at once? Should we allow users to choose whether to display the trash directories of all subgroups through more configuration options, instead of enforcing such behavior Thanks for review. This will display the trash directories of all clusters at once if the clusters have any moint point. Add this in getDestinationForPath() will be minimum change. And it should not use more configuration to control this : For client view , it is better to display all trash from all clusters that have any moint point. @zhtttylz > RBF: Listing trash directory should return subdirs from all subclusters. > ------------------------------------------------------------------------ > > Key: HDFS-17269 > URL: https://issues.apache.org/jira/browse/HDFS-17269 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: liuguanghua > Assignee: liuguanghua > Priority: Minor > Labels: pull-request-available > > Same scenario as HDFS-17263 > If user trash config fs.trash.checkpoint.interval set to 10min in namenodes, > the trash root dir /user/$USER/.Trash/Current will be very 10 min renamed to > /user/$USER/.Trash/timestamp . > > When user ls /user/$USER/.Trash, it should be return blow: > /user/$USER/.Trash/Current > /user/$USER/.Trash/timestamp (This is invisible now) > > So we should make that user ls trash root dir can see all trash subdirs in > all nameservices which user has any mountpoint in nameservice. -- 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