hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-653) TestMetadataStore#testIterator fails on Windows
Date Sat, 13 Oct 2018 17:49:00 GMT

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


Mime
View raw message