You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Richard Krenek <ri...@gmail.com> on 2005/05/17 21:59:14 UTC
NFS
I was wondering about Lucene and NFS. The issue is with locking
correct? In Lucene in Action it mentions.
... issues with lock files and NFS, choose a directory that doesn't
reside on an NFS volume. If you have the book, flip to page 62. Does
it mean, don't use NFS or just ensure you point your lock file
directory to a common non-NFS directory? I'd really like to use an NFS
filesystem since this is the only place I have space. Will I only have
issues when updating an index etc..
Thanks for any pointers.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: NFS
Posted by Morus Walter <mo...@tanto.de>.
Vince Taluskie writes:
> Richard,
>
> In an earlier note, I mentioned using an Netapp R100 for storage of our
> indexes and content - so I can say that Lucene definitely works accessing
> over NFS. I think this is more for updating/merging the same indexes across
> multiple systems simultaneously and once the indexes are there - I wouldn't
> think you'd have any issues with NFS per se. Just having them open for reads
> doesn't create any lockfiles...
>
AFAIK opening an index requires a lock.
If the index is modified during the process of accessing all index files,
opening might fail.
I'm not sure if that problem can show up when you're using the compact
index format (the default since 1.4 (or so)), but I had that problem
in earlier version using the noncompact index format.
Morus
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: NFS
Posted by Vince Taluskie <vg...@gmail.com>.
Richard,
In an earlier note, I mentioned using an Netapp R100 for storage of our
indexes and content - so I can say that Lucene definitely works accessing
over NFS. I think this is more for updating/merging the same indexes across
multiple systems simultaneously and once the indexes are there - I wouldn't
think you'd have any issues with NFS per se. Just having them open for reads
doesn't create any lockfiles...
I guess I would be curious if lucene itself creates filesystem lock files,
where is the chance that other systems couldn't see them - the lockfile is
after all a file in a network filesystem so I don't quite see the whole
issue here.
Vince
On 5/17/05, Richard Krenek <ri...@gmail.com> wrote:
>
> I was wondering about Lucene and NFS. The issue is with locking
> correct? In Lucene in Action it mentions.
> ... issues with lock files and NFS, choose a directory that doesn't
> reside on an NFS volume. If you have the book, flip to page 62. Does
> it mean, don't use NFS or just ensure you point your lock file
> directory to a common non-NFS directory? I'd really like to use an NFS
> filesystem since this is the only place I have space. Will I only have
> issues when updating an index etc..
>
> Thanks for any pointers.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
--
@work @home
vince.taluskie (at) cexp.com <http://cexp.com> vince (at)
taluskie.com<http://taluskie.com>
Corporate Express; Technical Architect Louisville, CO
Phone: 303 664 2660 http://www.taluskie.com
Re: NFS
Posted by Richard Krenek <ri...@gmail.com>.
Thanks all for the info. Otis was correct, I'm just using NFS for
the space, not for multiple machines having access. If we ever have to
have multiple machines, we now know what problems we will need to deal
with.
As for performance of the NFS vs Local we will need to do some tests
and decide which route is acceptable for our needs.
Thanks again
On 5/17/05, Richard Krenek <ri...@gmail.com> wrote:
> I was wondering about Lucene and NFS. The issue is with locking
> correct? In Lucene in Action it mentions.
> ... issues with lock files and NFS, choose a directory that doesn't
> reside on an NFS volume. If you have the book, flip to page 62. Does
> it mean, don't use NFS or just ensure you point your lock file
> directory to a common non-NFS directory? I'd really like to use an NFS
> filesystem since this is the only place I have space. Will I only have
> issues when updating an index etc..
>
> Thanks for any pointers.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org