On Wed, Nov 10, 2010 at 2:40 PM, Uwe Schindler wrote:
> Are you using NFS as filesystem? NFS is incompatible to lucene :-)
Actually Lucene can work over NFS, except, it's not a well tested combination.
However, because NFS does not protect open files from deletion, you
must use an app-specific d
>
>
> > -Original Message-
> > From: Pulkit Singhal [mailto:pulkitsing...@gmail.com]
> > Sent: Wednesday, November 10, 2010 2:55 PM
> > To: java-user@lucene.apache.org
> > Subject: Re: IndexWriters and write locks
> >
> > You know that really
...@thetaphi.de
> -Original Message-
> From: Pulkit Singhal [mailto:pulkitsing...@gmail.com]
> Sent: Wednesday, November 10, 2010 8:55 PM
> To: java-user@lucene.apache.org
> Subject: Re: IndexWriters and write locks
>
> You know that really confuses me. I've heard that st
55 PM
> To: java-user@lucene.apache.org
> Subject: Re: IndexWriters and write locks
>
> You know that really confuses me. I've heard that stated a few times and
> every time I just felt that it couldn't possibly be right. Maybe it was
> meant in some very specific manner because o
lkit Singhal [mailto:pulkitsing...@gmail.com]
> > Sent: Wednesday, November 10, 2010 7:57 PM
> > To: java-user@lucene.apache.org
> > Subject: Re: IndexWriters and write locks
> >
> > Thanks Uwe, that helps explain why the lock file is still there.
> >
> > The las
0, 2010 7:57 PM
> To: java-user@lucene.apache.org
> Subject: Re: IndexWriters and write locks
>
> Thanks Uwe, that helps explain why the lock file is still there.
>
> The last piece of the puzzle is why someone may see exceptions such as the
&g
Original Message-
> > From: Pulkit Singhal [mailto:pulkitsing...@gmail.com]
> > Sent: Wednesday, November 10, 2010 3:38 PM
> > To: java-user@lucene.apache.org
> > Subject: IndexWriters and write locks
> >
> > Hello,
> >
> > 1) On Windows, I often shut down
> -Original Message-
> From: Pulkit Singhal [mailto:pulkitsing...@gmail.com]
> Sent: Wednesday, November 10, 2010 3:38 PM
> To: java-user@lucene.apache.org
> Subject: IndexWriters and write locks
>
> Hello,
>
> 1) On Windows, I often shut down my applicati
I do not actually take the trouble to specify what Lock Factory to use,
hmmm.
Are you suggesting that because I'm using FSDirectory.open() in my code, I
get a locking scheme that works ... while on other machine for other folks,
they get one that runs into issues and throws
java.nio.channels.Overl
Likely you are using NativeFSLockFactory?
In which case, a leftover lock file does not mean the index is in fact
locked, since the OS will [correctly] release the lock on process
exit.
Mike
On Wed, Nov 10, 2010 at 9:38 AM, Pulkit Singhal wrote:
> Hello,
>
> 1) On Windows, I often shut down my a
Hello,
1) On Windows, I often shut down my application server (which has active
IndexWriters open) using the ctrl+c keys.
2) I inspect my directories on the file system I see that the write.lock
file is still there.
3) I start the app server again, and do some operations that would require
IndexWr
11 matches
Mail list logo