[
https://issues.apache.org/jira/browse/HADOOP-18998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791953#comment-17791953
]
ASF GitHub Bot commented on HADOOP-18998:
-----------------------------------------
LiuGuH opened a new pull request, #6312:
URL: https://github.com/apache/hadoop/pull/6312
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
Same scenario as
[HDFS-17263](https://issues.apache.org/jira/browse/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.
> [RBF] Make listStatus user root trash dir will return all subclusters trash
> subdirs if user has any mount points in nameservice.
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-18998
> URL: https://issues.apache.org/jira/browse/HADOOP-18998
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: liuguanghua
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]