Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5626

SimpleFSLockFactory "access denied" on windows.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8, 4.9, 6.0
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This happened twice in jenkins:

      [lockStressTest2] Exception in thread "main" java.io.IOException:
      Access is denied
      [lockStressTest2] at
      java.io.WinNTFileSystem.createFileExclusively(Native Method)
      [lockStressTest2] at java.io.File.createNewFile(File.java:1012)
      [lockStressTest2] at
      org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:135)
      

      My windows machine got struck by lightning, so I cannot fix this easily.

        Attachments

        1. LUCENE-5626.patch
          1 kB
          Uwe Schindler
        2. LUCENE-5626.patch
          0.8 kB
          Uwe Schindler

          Activity

            People

            • Assignee:
              thetaphi Uwe Schindler
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: