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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/04/11 08:55:16 UTC

[jira] [Created] (HDFS-6235) TestFileJournalManager can fail on Windows due to file locking if tests run out of order.

Chris Nauroth created HDFS-6235:
-----------------------------------

             Summary: TestFileJournalManager can fail on Windows due to file locking if tests run out of order.
                 Key: HDFS-6235
                 URL: https://issues.apache.org/jira/browse/HDFS-6235
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode, test
    Affects Versions: 2.4.0, 3.0.0
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth


{{TestFileJournalManager}} has multiple tests that reuse the same storage directory: /filejournaltest2.  The last test in the suite intentionally leaves a file open to test behavior of an unclosed edit log.  On some environments though, tests within a suite execute out of order.  In this case, a lock is still held on /filejournaltest2, and subsequent tests fail trying to delete the directory.



--
This message was sent by Atlassian JIRA
(v6.2#6252)