lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Lock obtain timed out
Date Tue, 18 May 2010 08:11:13 GMT
Use SimpleFSLockFactory.  The default, NativeFSLockFactory, doesn't
play well with NFS.

And a warning: lucene does work on NFS but you may run into problems
if your index has a lot of modifications and/or is accessed from
different servers.


--
Ian.



On Tue, May 18, 2010 at 6:56 AM, Saurabh Agarwal <srbh.grwl@gmail.com> wrote:
> Hi,
>
> I am using Lucene 3.0.0 to index (with the demo application IndexFiles) a 6
> GB corpus which is on NFS, more over I am storing my index on NFS too. But
> when I run the program
> I get following exception
>
>
>
> caught a class org.apache.lucene.store.LockObtainFailedException
>  with message: Lock obtain timed out:
> NativeFSLock@/usr/home/saurabh/index/write.lock:
> java.io.IOException: Operation not supported
>
> Please Help out
>
>
> Regards
> Saurabh Agarwal
>

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


Mime
View raw message