You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Krishna Kumar Asawa (Jira)" <ji...@apache.org> on 2023/05/31 05:20:00 UTC

[jira] [Resolved] (HDDS-7189) Getting 'Directory is not empty' while using -r option in -rm command

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

Krishna Kumar Asawa resolved HDDS-7189.
---------------------------------------
    Fix Version/s: 1.4.0
       Resolution: Duplicate

> Getting 'Directory is not empty' while using -r option in -rm command
> ---------------------------------------------------------------------
>
>                 Key: HDDS-7189
>                 URL: https://issues.apache.org/jira/browse/HDDS-7189
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Pratyush Bhatt
>            Assignee: Ashish Kumar
>            Priority: Major
>             Fix For: 1.4.0
>
>         Attachments: om-audit.log, ozone-om.log
>
>
> While trying to run ozone fs -rm -r -skipTrash ofs://ozone1/testvolume command, we got the 'Directory is not empty error'
> {noformat}
> [root@pra-relnifi3-5 ~]# ozone fs -rm -r -skipTrash ofs://ozone1/testvolume
> rm: `ofs://ozone1/testvolume/testbucket': Directory is not empty{noformat}
> The Buckets were created using Legacy layouts.
> Also, This error is seen if directories are not empty and we run ozone fs -rmdir <path> command. 
> I Tried to check the om logs for that time, and they were showing 'BUCKET_NOT_EMPTY'
> ozone-om logs: [^ozone-om.log]
> om-audit logs: [^om-audit.log]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org