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

[jira] [Created] (HDDS-653) TestMetadataStore#testIterator fails in Windows

Yiqun Lin created HDDS-653:
------------------------------

             Summary: TestMetadataStore#testIterator fails in 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


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