You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "George Huang (Jira)" <ji...@apache.org> on 2023/02/23 18:17:00 UTC
[jira] [Commented] (HDDS-7412) failed to delete an empty bucket with "BUCKET_NOT_EMPTY Bucket is not empty"
[ https://issues.apache.org/jira/browse/HDDS-7412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692822#comment-17692822 ]
George Huang commented on HDDS-7412:
------------------------------------
{code:java}
2023-02-21 13:52:22,919 ERROR org.apache.hadoop.ozone.om.request.bucket.OMBucketDeleteRequest: Delete bucket failed for bucket:ratis-legacy1 in volume:vol9
BUCKET_NOT_EMPTY org.apache.hadoop.ozone.om.exceptions.OMException: Bucket is not empty
at org.apache.hadoop.ozone.om.request.bucket.OMBucketDeleteRequest.validateAndUpdateCache(OMBucketDeleteRequest.java:135)
at org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler.handleWriteRequest(OzoneManagerRequestHandler.java:311)
at org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.runCommand(OzoneManagerStateMachine.java:533)
at org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.lambda$1(OzoneManagerStateMachine.java:324)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{code}
> failed to delete an empty bucket with "BUCKET_NOT_EMPTY Bucket is not empty"
> ----------------------------------------------------------------------------
>
> Key: HDDS-7412
> URL: https://issues.apache.org/jira/browse/HDDS-7412
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: George Huang
> Priority: Major
> Attachments: HDDS-7412.txt, Screen Shot 2022-10-25 at 1.56.56 PM.png, Screen Shot 2022-10-25 at 2.00.27 PM.png
>
>
> ozone sh key list shows a bucket is empty, however, bucket delete shows bucket is not empty and hence bucket delete failed, see attached screenshot.
--
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