You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ashish Kumar (Jira)" <ji...@apache.org> on 2025/08/22 04:25:00 UTC
[jira] [Resolved] (HDDS-10881) Recursive delete on volume "/tmp" fails with " Failed to clean bucket"
[ https://issues.apache.org/jira/browse/HDDS-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Kumar resolved HDDS-10881.
---------------------------------
Resolution: Won't Fix
If user has full permission it will able to delete else error is expected.
> Recursive delete on volume "/tmp" fails with " Failed to clean bucket"
> ----------------------------------------------------------------------
>
> Key: HDDS-10881
> URL: https://issues.apache.org/jira/browse/HDDS-10881
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Reporter: Pratyush Bhatt
> Assignee: Tanvi Penumudy
> Priority: Major
> Labels: pull-request-available
>
> I was trying to recursively delete the /tmp special volume using _sh delete -r -y_ , but the command fails with "java.lang.RuntimeException: Failed to clean bucket"
> {code:java}
> bash-4.2$ ozone sh volume create /tmp
> bash-4.2$ ozone sh bucket create /tmp/buck1
> bash-4.2$ ozone sh volume delete /tmp
> VOLUME_NOT_EMPTY
> bash-4.2$ ozone sh volume delete -r -y /tmp
> Exception in thread "pool-2-thread-1" java.lang.RuntimeException: Failed to clean bucket
> at org.apache.hadoop.ozone.shell.volume.DeleteVolumeHandler$BucketCleaner.run(DeleteVolumeHandler.java:202)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> VOLUME_NOT_EMPTY
> bash-4.2$ {code}
> cc: [~ashishk]
--
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