[
https://issues.apache.org/jira/browse/HADOOP-18998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liuguanghua updated HADOOP-18998:
---------------------------------
Description:
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.
was:
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
/user/$USER/.Trash/timestamp
For a user trash view, it should be execute listStatus /user/$USER/.Trash, it
should see all trash subdirs in all nameservices which user has any mountpoint.
> [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]