[ 
https://issues.apache.org/jira/browse/HDFS-17842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDFS-17842:
----------------------------------
    Labels: pull-request-available  (was: )

> RBF: Unable to delete certain files or directories under trash path
> -------------------------------------------------------------------
>
>                 Key: HDFS-17842
>                 URL: https://issues.apache.org/jira/browse/HDFS-17842
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rbf
>            Reporter: Takanobu Asanuma
>            Priority: Major
>              Labels: pull-request-available
>
> With HDFS-17263, attempts to delete files or directories under the trash path 
> fail when specifying `.Trash/*` or `.Trash/Current/`. However, deleting the 
> `.Trash` directory itself succeeds.
> {noformat}
> # 1. Specifying .Trash/* → Failed
> $ hadoop fs -rm -r -skipTrash '/user/alice/.Trash/*'
> rm: The operation is not allowed because there are mount points: ... under 
> the path: /user/alice/.Trash/Current
> # 2. Specifying .Trash/Current/ → Failed
> $ hadoop fs -rm -r -skipTrash '/user/alice/.Trash/Current/'
> rm: The operation is not allowed because there are mount points: ... under 
> the path: /user/alice/.Trash/Current
> # 3. Deleting .Trash directly → Succeeded
> -bash-4.2$ hadoop fs -rm -r -skipTrash '/user/alice/.Trash/'
> Deleted /user/alice/.Trash
> {noformat}
> These operations succeeded prior to HDFS-17263.
> This issue is reported by Haruka Ogawa and Kai Hirayama.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to