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 "Dai, Chunhe" <Ch...@fatwire.com> on 2006/03/23 22:58:13 UTC
lucene NFS support
Hi,
Does anyone know whether Lucene plans to support NFS in later
release(2.0)? We are planning to integrate Lucene into our products and
cluster support is definitely needed. We want to check whether NFS
support is in the plan or not before implementing a new file locking
ourselves with it.
Thanks.
Chunhe
Re: lucene NFS support
Posted by Doug Cutting <cu...@apache.org>.
Dai, Chunhe wrote:
> Does anyone know whether Lucene plans to support NFS in later
> release(2.0)? We are planning to integrate Lucene into our products and
> cluster support is definitely needed. We want to check whether NFS
> support is in the plan or not before implementing a new file locking
> ourselves with it.
I think that nio-based locking would probably fix this, and could easily
be provided in addition or in place of the existing locking mechanism.
I think the last time this was considered Lucene was still attempting to
be compatible with Java 1.3. But I think Lucene 2.0 is aimed at Java 1.4.
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Read past EOF error in Windows
Posted by Raghavendra Prabhu <rr...@gmail.com>.
Check Whether it has got anything to do with UTF
There is a new line difference between windows and linux
Rgds
Prabhu
On 3/24/06, Chris Cain <cb...@hermes.cam.ac.uk> wrote:
>
> No that doesnt seem to be the problem.
>
> Anyone have any other ideas?
>
> On Tue, 21 Mar 2006 msftblows@aol
>
> I had a problem in the past with security on the folder where your index
> is located...but your error does not seem to show that ... I would check
> anyway though...
>
> -----Original Message-----
> From: Chris Cain <cbc20[at]hermes.cam.ac.uk>
> To: java-user[at]lucene.apache.org
> Sent: Tue, 21 Mar 2006 15:33:26 +0000 (GMT)
> Subject: Read past EOF error in Windows
>
>
> Hi all,
>
> I wrote a lucene program which runs fine under Linux and Mac but fails on
> most Windows machines. (I have managed to get it to work on one version of
> XP however)
>
> Specifically when i open or search the index i get the following error
> message.
>
> Any help would be appreciated,
> Cheers,
> Chris
>
> caught a class java.io.IOException
> with message: read past EOF
> java.io.IOException: read past EOF
> at org.apache.lucene.store.FSIndexInput.readInternal(FSDirectory.java:451)
> at
> org.apache.lucene.store.BufferedIndexInput.readBytes(
> BufferedIndexInput.java:45)
> at
> org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(
> CompoundFileReader.java:219)
> at
> org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java
> :64)
> at
> org.apache.lucene.store.BufferedIndexInput.readByte(
> BufferedIndexInput.java:33)
> at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:46)
> at org.apache.lucene.index.SegmentTermEnum.<init>(SegmentTermEnum.java:47)
> at org.apache.lucene.index.TermInfosReader.<init>(TermInfosReader.java:48)
> at
> org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:147)
> at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129)
> at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:115)
> at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:150)
> at org.apache.lucene.store.Lock$With.run(Lock.java:109)
> at org.apache.lucene.index.IndexReader.open(IndexReader.java:143)
> at org.apache.lucene.index.IndexReader.open(IndexReader.java:127)
> at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:42)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
> For additional commands, e-mail: java-user-help[at]lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
Re: Read past EOF error in Windows
Posted by Chris Cain <cb...@hermes.cam.ac.uk>.
No that doesnt seem to be the problem.
Anyone have any other ideas?
On Tue, 21 Mar 2006 msftblows@aol
I had a problem in the past with security on the folder where your index
is located...but your error does not seem to show that ... I would check
anyway though...
-----Original Message-----
From: Chris Cain <cbc20[at]hermes.cam.ac.uk>
To: java-user[at]lucene.apache.org
Sent: Tue, 21 Mar 2006 15:33:26 +0000 (GMT)
Subject: Read past EOF error in Windows
Hi all,
I wrote a lucene program which runs fine under Linux and Mac but fails on
most Windows machines. (I have managed to get it to work on one version of
XP however)
Specifically when i open or search the index i get the following error
message.
Any help would be appreciated,
Cheers,
Chris
caught a class java.io.IOException
with message: read past EOF
java.io.IOException: read past EOF
at org.apache.lucene.store.FSIndexInput.readInternal(FSDirectory.java:451)
at
org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:45)
at
org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:219)
at
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:64)
at
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:33)
at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:46)
at org.apache.lucene.index.SegmentTermEnum.<init>(SegmentTermEnum.java:47)
at org.apache.lucene.index.TermInfosReader.<init>(TermInfosReader.java:48)
at
org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:147)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:115)
at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:150)
at org.apache.lucene.store.Lock$With.run(Lock.java:109)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:143)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:127)
at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:42)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: lucene NFS support
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi Chunhe,
There are no NFS-specific plans. Out of personal curiosity - why go for NFS and not NAS?
Otis
----- Original Message ----
From: "Dai, Chunhe" <Ch...@fatwire.com>
To: java-user@lucene.apache.org
Sent: Thursday, March 23, 2006 4:58:13 PM
Subject: lucene NFS support
Hi,
Does anyone know whether Lucene plans to support NFS in later
release(2.0)? We are planning to integrate Lucene into our products and
cluster support is definitely needed. We want to check whether NFS
support is in the plan or not before implementing a new file locking
ourselves with it.
Thanks.
Chunhe
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org