[
https://issues.apache.org/jira/browse/HDDS-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krishna Kumar Asawa reassigned HDDS-10881:
------------------------------------------
Assignee: Tanvi Penumudy
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]