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: [email protected]
For additional commands, e-mail: [email protected]