You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Pratyush Bhatt (Jira)" <ji...@apache.org> on 2022/08/30 11:29:00 UTC
[jira] [Created] (HDDS-7189) Getting 'Directory is not empty' while using -r option in -rm command
Pratyush Bhatt created HDDS-7189:
------------------------------------
Summary: 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
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