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: Lucene Indexing on NFS
Date Wed, 19 Dec 2012 20:48:45 GMT
Use SimpleFSLockFactory.  See the javadocs about locks being left
behind on abnormal JVM termination.

There was a thread on this list a while ago about some pros and cons
of using lucene on NFS.  2-Oct-2012 in fact.
http://mail-archives.apache.org/mod_mbox/lucene-java-user/201210.mbox/thread

--
Ian.


On Wed, Dec 19, 2012 at 8:14 PM, Bowden Wise <wiseb@acm.org> wrote:
> Hello,
>
> I have been getting the following lock error when attempting to open an
> index writer to add new documents to an index.
> org.apache.lucene.store.LockObtainFailedException
> Lock obtain timed out:
> NativeFSLock@/opt/shared/data/CTXTMNG/PAC_INDEX/lucene/aero/prod/index/write.lock
>
> I believe this is because we are using NFS.
>
> Has anyone gotten Lucene to work on NFS? What steps did you take?
>
> Thanks
> Bowden

---------------------------------------------------------------------
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