You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2018/10/13 04:48:00 UTC

[jira] [Updated] (HDDS-653) TestMetadataStore#testIterator fails on Windows

     [ https://issues.apache.org/jira/browse/HDDS-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yiqun Lin updated HDDS-653:
---------------------------
    Summary: TestMetadataStore#testIterator fails on Windows  (was: TestMetadataStore#testIterator fails in Windows)

> 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
>         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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org