Hi Bhavin,

you don't tell us what exactly goes wrong with your index. The exception you 
get is just telling you that Lucene is not able to get a lock on the index. 
This does not corrupt the index.

You say that you are using and running Lucene on a NFS share. Unfortunately, 
this is known to not work and may also cause serious corruption of index files. 
One thing that does not work is locking, because NFS filesystems are not fully 
POSIX conform and don't support locking in a safe way.  This is not different 
in later versions of Lucene, the only suggestion that we have is to place the 
index on local disks, or (if network disks) are really needed, on CIFS shares.

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de

> -----Original Message-----
> From: Erick Erickson <erickerick...@gmail.com>
> Sent: Tuesday, July 31, 2018 5:00 PM
> To: java-user <java-user@lucene.apache.org>
> Subject: Re: lucene index file gets corrupted while creating index with 2
> nodes.
> 
> There is no chance anyone will try to change the code for 3.6, so
> raising a JIRA is pointless.
> 
> see: http://lucene.472066.n3.nabble.com/Issues-with-locked-indices-
> td4339180.html
> 
> Uwe is very knowledgeable in this area, so I'd strongly recommend you
> follow his advice.
> 
> Best,
> Erick
> 
> On Tue, Jul 31, 2018 at 2:33 AM, Bhavin Chheda <bmchhe...@gmail.com>
> wrote:
> > Hi,
> >
> >
> > The lucene index file gets corrupted during loadtest of 15 min :-  creating
> > the index with 2 nodes with 60 cocurrent users.
> >
> > I am using Lucene 3.6 version. The index is created in NFS.
> >
> > Please let me know does lucene create index works on multiple nodes with
> > NFS.
> >
> >
> >
> > The error exception is org.apache.lucene.LockObtainFailedException: Lock
> > obtain timed out.
> >
> >
> >
> >
> > Please let me know - can I post above error in Issue Tracker -
> > lucene.apache.org.
> >
> >
> > Regards,
> >
> > Bhavin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org


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

Reply via email to