Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6235

TestFileJournalManager can fail on Windows due to file locking if tests run out of order.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.4.0, 3.0.0-alpha1
    • 2.4.1
    • namenode, test
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HDFS-6235.1.patch
          4 kB
          Chris Nauroth

        Activity

          People

            cnauroth Chris Nauroth
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: