[ 
https://issues.apache.org/jira/browse/HDDS-8912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17737901#comment-17737901
 ] 

Siyao Meng commented on HDDS-8912:
----------------------------------

One more occurrence in a recent PR CI:

{code:title=https://github.com/apache/ozone/actions/runs/5394887960/jobs/9796876866?pr=4991}
[INFO] Running org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem
Error:  Tests run: 250, Failures: 0, Errors: 1, Skipped: 9, Time elapsed: 
502.953 s <<< FAILURE! - in org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem
Error:  TestRootedOzoneFileSystem.testDeleteBucketLink  Time elapsed: 0.067 s  
<<< ERROR!
org.apache.hadoop.fs.PathIsNotEmptyDirectoryException: `/volume07805': 
Directory is not empty
        at 
org.apache.hadoop.fs.ozone.BasicRootedOzoneFileSystem.deleteVolume(BasicRootedOzoneFileSystem.java:809)
        at 
org.apache.hadoop.fs.ozone.BasicRootedOzoneFileSystem.delete(BasicRootedOzoneFileSystem.java:668)
        at 
org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem.cleanup(TestRootedOzoneFileSystem.java:201)
{code}

I think this can be solved by recursively deleting the volume in this case?

> Intermittent failure in TestRootedOzoneFileSystem.cleanup
> ---------------------------------------------------------
>
>                 Key: HDDS-8912
>                 URL: https://issues.apache.org/jira/browse/HDDS-8912
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Attila Doroszlai
>            Assignee: Hemant Kumar
>            Priority: Major
>
> {code}
> org.apache.hadoop.fs.PathIsNotEmptyDirectoryException: 
> `/volume05829/bucket25958': Directory is not empty
>       at 
> org.apache.hadoop.fs.ozone.BasicRootedOzoneFileSystem.delete(BasicRootedOzoneFileSystem.java:702)
>       at 
> org.apache.hadoop.fs.ozone.BasicRootedOzoneFileSystem.delete(BasicRootedOzoneFileSystem.java:662)
>       at 
> org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem.cleanup(TestRootedOzoneFileSystem.java:192)
> {code}
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/02/16/20174/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem.txt
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/02/24/20329/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem.txt
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/06/09/23165/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem.txt
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/06/22/23652/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem.txt



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to