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

SimpleFSLockFactory "access denied" on windows.

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 4.8, 4.9, 6.0
    • core/store
    • None
    • 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

            uschindler Uwe Schindler
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: