[jira] [Updated] (LUCENE-5626) SimpleFSLockFactory access denied on windows.

2014-04-24 Thread Uwe Schindler (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-5626:
--

Priority: Blocker  (was: Major)

 SimpleFSLockFactory access denied on windows.
 ---

 Key: LUCENE-5626
 URL: https://issues.apache.org/jira/browse/LUCENE-5626
 Project: Lucene - Core
  Issue Type: Bug
  Components: core/store
Reporter: Robert Muir
Assignee: Uwe Schindler
Priority: Blocker
 Fix For: 4.8, 4.9, 5.0

 Attachments: LUCENE-5626.patch, LUCENE-5626.patch


 This happened twice in jenkins:
 {noformat}
 [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)
 {noformat}
 My windows machine got struck by lightning, so I cannot fix this easily. 



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

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-5626) SimpleFSLockFactory access denied on windows.

2014-04-24 Thread Uwe Schindler (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-5626:
--

Fix Version/s: 4.8

 SimpleFSLockFactory access denied on windows.
 ---

 Key: LUCENE-5626
 URL: https://issues.apache.org/jira/browse/LUCENE-5626
 Project: Lucene - Core
  Issue Type: Bug
  Components: core/store
Reporter: Robert Muir
Assignee: Uwe Schindler
Priority: Blocker
 Fix For: 4.8, 4.9, 5.0

 Attachments: LUCENE-5626.patch, LUCENE-5626.patch


 This happened twice in jenkins:
 {noformat}
 [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)
 {noformat}
 My windows machine got struck by lightning, so I cannot fix this easily. 



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

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-5626) SimpleFSLockFactory access denied on windows.

2014-04-23 Thread Uwe Schindler (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-5626:
--

Attachment: LUCENE-5626.patch

Simple patch, doing the same Exception handling in obtain() like with 
NativeFSLockFactory.

This bug is not new, it exists as long as SimpleFSLockFactory exists. But it 
only happens on Windows and SimpleFSLF is no longer the default, so no need to 
hold 4.8.

 SimpleFSLockFactory access denied on windows.
 ---

 Key: LUCENE-5626
 URL: https://issues.apache.org/jira/browse/LUCENE-5626
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Attachments: LUCENE-5626.patch


 This happened twice in jenkins:
 {noformat}
 [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)
 {noformat}
 My windows machine got struck by lightning, so I cannot fix this easily. 



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

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-5626) SimpleFSLockFactory access denied on windows.

2014-04-23 Thread Uwe Schindler (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-5626:
--

  Component/s: core/store
Fix Version/s: 5.0
   4.9
 Assignee: Uwe Schindler

 SimpleFSLockFactory access denied on windows.
 ---

 Key: LUCENE-5626
 URL: https://issues.apache.org/jira/browse/LUCENE-5626
 Project: Lucene - Core
  Issue Type: Bug
  Components: core/store
Reporter: Robert Muir
Assignee: Uwe Schindler
 Fix For: 4.9, 5.0

 Attachments: LUCENE-5626.patch


 This happened twice in jenkins:
 {noformat}
 [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)
 {noformat}
 My windows machine got struck by lightning, so I cannot fix this easily. 



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

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-5626) SimpleFSLockFactory access denied on windows.

2014-04-23 Thread Uwe Schindler (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-5626:
--

Attachment: LUCENE-5626.patch

This patch adds the failureReason like NativeFSLF does. This allows 
LockFactory throw the real failure after the locking failed. I don't like this 
code (looks like a hack), but this would make it consistent.

 SimpleFSLockFactory access denied on windows.
 ---

 Key: LUCENE-5626
 URL: https://issues.apache.org/jira/browse/LUCENE-5626
 Project: Lucene - Core
  Issue Type: Bug
  Components: core/store
Reporter: Robert Muir
Assignee: Uwe Schindler
 Fix For: 4.9, 5.0

 Attachments: LUCENE-5626.patch, LUCENE-5626.patch


 This happened twice in jenkins:
 {noformat}
 [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)
 {noformat}
 My windows machine got struck by lightning, so I cannot fix this easily. 



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

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org