You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Takanobu Asanuma (Jira)" <ji...@apache.org> on 2025/09/25 04:40:00 UTC

[jira] [Created] (HDFS-17842) RBF: Unable to delete certain files or directories under trash path

Takanobu Asanuma created HDFS-17842:
---------------------------------------

             Summary: 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


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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org