[
https://issues.apache.org/jira/browse/HDDS-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anu Engineer updated HDDS-653:
------------------------------
Resolution: Fixed
Fix Version/s: 0.4.0
0.3.0
Status: Resolved (was: Patch Available)
[~linyiqun] Thank you for the contribution. I have committed this change to the
trunk and ozone-0.3 branch.
> TestMetadataStore#testIterator fails on Windows
> -----------------------------------------------
>
> Key: HDDS-653
> URL: https://issues.apache.org/jira/browse/HDDS-653
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: test
> Affects Versions: 0.2.1
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Priority: Major
> Fix For: 0.3.0, 0.4.0
>
> Attachments: HDDS-653.001.patch
>
>
> Running the unit tests for hdds-common module, found one failure UT in
> Windows.
> {noformat}
> java.io.IOException: Unable to delete file:
> target\test\data\KbmK7CPN1M\MANIFEST-000002
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2381)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
> at
> org.apache.hadoop.utils.TestMetadataStore.testIterator(TestMetadataStore.java:166)
> {noformat}
> Looking into this, we forget to close the db store and this will lead failure
> of deleting file in Windows.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]