lucene 8.4.1, EOFException: read past EOF: NIOFSIndexInput(path="/luceneindex/_f.nvd") [slice=docs]

2020-12-04 Thread Maros Stefaniciak
Hello, I am receiving next error past EOF: pos=35014 vs length=33814: NIOFSIndexInput(path="/lucenedata/_s.nvd") [slice=docs]||java.io.EOFException: read past EOF: pos=35014 vs length=33814: NIOFSIndexInput(path="/lucenedata/DomainIndexes/EFBO_EF/fee_di/_s.nvd") [slice=doc

Re: "read past EOF" when merge

2012-11-07 Thread superruiye
ne Merge Thread #241" org.apache.lucene.index.MergePolicy$MergeException: java.io.IOException: read past EOF at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:517) at org.apache.lucene.index.ConcurrentMerge

RE: "read past EOF" when merge

2012-11-05 Thread Markus Jelsma
https://issues.apache.org/jira/browse/SOLR-4032 -Original message- > From:Mark Miller > Sent: Sat 03-Nov-2012 14:20 > To: java-user@lucene.apache.org > Subject: Re: "read past EOF" when merge > > Can you file a JIRA Markus? This is probably related

Re: "read past EOF" when merge

2012-11-03 Thread Mark Miller
> file=_p_Lucene41_0.doc&comm > and=filecontent&checksum=true&generation=6&qt=/replication&wt=filestream > java.io.EOFException: read past EOF: > MMapIndexInput(path="/opt/solr/cores/openindex_h/data/index.20121030152234973/_p_Lucene41_0.doc") >at >

RE: "read past EOF" when merge

2012-11-02 Thread Markus Jelsma
No this is not using NFS but EXT3 on SSD. Thanks -Original message- > From:Michael McCandless > Sent: Fri 02-Nov-2012 16:22 > To: java-user@lucene.apache.org > Subject: Re: "read past EOF" when merge > > On Fri, Nov 2, 2012 at 6:53 AM, Markus Jelsma &

Re: "read past EOF" when merge

2012-11-02 Thread Michael McCandless
crash when this happenend. > > 2012-10-30 16:12:51,061 WARN [solr.handler.ReplicationHandler] - > [http-8080-exec > -3] - : Exception while writing response for params: > file=_p_Lucene41_0.doc&comm > and=filecontent&checksum=true&generation=6&qt=/replication&wt=file

RE: "read past EOF" when merge

2012-11-02 Thread Markus Jelsma
ionHandler] - [http-8080-exec -3] - : Exception while writing response for params: file=_p_Lucene41_0.doc&comm and=filecontent&checksum=true&generation=6&qt=/replication&wt=filestream java.io.EOFException: read past EOF: MMapIndexInput(path="/opt/solr/cores/openindex_h/data/in

Re: "read past EOF" when merge

2012-11-02 Thread Michael McCandless
gt; > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/read-past-EOF-when-merge-tp4017179p4017734.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > - >

Re: "read past EOF" when merge

2012-11-01 Thread superruiye
e.com/read-past-EOF-when-merge-tp4017179p4017734.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-u

Re: "read past EOF" when merge

2012-11-01 Thread Michael McCandless
Microsystems Inc.} > has deletions [delFileName=_51w_5.del] > test: open reader.OK [17 deleted docs] > test: fields..OK [10 fields] > test: field norms.........OK [10 fields] > test: terms, freq, prox.

Re: "read past EOF" when merge

2012-10-31 Thread pliu367
fields] test: field norms.OK [10 fields] test: terms, freq, prox...ERROR [read past EOF] java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:207) at org.apache.lucene.store.BufferedIndexInput.readByte

Re: "read past EOF" when merge

2012-10-31 Thread Michael McCandless
Run CheckIndex on the index? What filesystem is IndexWriter using to write to the index...? Have you changed the LockFactory on the Directory? Mike McCandless http://blog.mikemccandless.com On Tue, Oct 30, 2012 at 11:27 PM, superruiye wrote: > The exception "read past EOF" B

"read past EOF" when merge

2012-10-30 Thread superruiye
The exception "read past EOF" Bothering me a long time, trace at below. Exception in thread "Lucene Merge Thread #7" org.apache.lucene.index.MergePolicy$MergeException: java.io.IOException: read past EOF at org.apache.lucene.index.ConcurrentMergeScheduler.

Re: zero sized cfs files in index lead to IOException: read past EOF

2012-06-19 Thread Michael McCandless
Hmm which Lucene version are you using? For 3.x before 3.4, there was a bug (https://issues.apache.org/jira/browse/LUCENE-3418) where we failed to actually fsync... More below: On Tue, Jun 19, 2012 at 4:54 PM, Chris Gioran wrote: > On Tue, Jun 19, 2012 at 6:18 PM, Michael McCandless > wrote: >

Re: zero sized cfs files in index lead to IOException: read past EOF

2012-06-19 Thread Chris Gioran
mccandless.com > > On Tue, Jun 19, 2012 at 10:50 AM, Chris Gioran > wrote: >> Hello everyone, >> >> I am having a problem with a lucene store. When starting an >> IndexWriter on it, it throws the following exception: >> >> Caused by: java.io.IOException:

Re: zero sized cfs files in index lead to IOException: read past EOF

2012-06-19 Thread Michael McCandless
is Gioran wrote: > Hello everyone, > > I am having a problem with a lucene store. When starting an > IndexWriter on it, it throws the following exception: > > Caused by: java.io.IOException: read past EOF: > MMapIndexInput(path="/path/to/index/_drs.cfs&quo

zero sized cfs files in index lead to IOException: read past EOF

2012-06-19 Thread Chris Gioran
Hello everyone, I am having a problem with a lucene store. When starting an IndexWriter on it, it throws the following exception: Caused by: java.io.IOException: read past EOF: MMapIndexInput(path="/path/to/index/_drs.cfs") at org.apache.lucene.store.MMa

Re: Why read past EOF

2012-02-17 Thread Michael McCandless
e.I reminded workmate to modify it,and index maintain in a range size. > Thank you all the same. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3752592.html > Sent from the Lucene - Java U

Re: Why read past EOF

2012-02-17 Thread Michael McCandless
ze. > Thank you all the same. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3752592.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > ---

Re: Why read past EOF

2012-02-16 Thread superruiye
Oh,I made a mistake.Our testing server's time is faster hours than it should be.I reminded workmate to modify it,and index maintain in a range size. Thank you all the same. -- View this message in context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3752592.html Sent fro

Re: Why read past EOF

2012-02-16 Thread Michael McCandless
iew this message in context: > http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3749057.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: jav

Re: Why read past EOF

2012-02-15 Thread superruiye
context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3749057.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For

Re: Why read past EOF

2012-02-15 Thread Michael McCandless
,but > it should only 90-100M... > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3746464.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > -

Re: Why read past EOF

2012-02-15 Thread superruiye
http://lucene.472066.n3.nabble.com/file/n3746464/index.jpg The index files are same size,and the index increase to 7.5G in one day,but it should only 90-100M... -- View this message in context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3746464.html Sent from the Lucene

Re: Why read past EOF

2012-02-11 Thread Michael McCandless
loop search and index),the > "read past EOF" didn't appeared yet. > My system structure should be improved, I hope to get your proposal again in > the future. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401

Re: Why read past EOF

2012-02-10 Thread superruiye
Thanks for your advice and patient. I modify "present",and use stress testing two day(loop search and index),the "read past EOF" didn't appeared yet. My system structure should be improved, I hope to get your proposal again in the future. -- View this message in context:

Re: Why read past EOF

2012-02-08 Thread Michael McCandless
n e) { >                        // TODO Auto-generated catch block >                        e.printStackTrace(); >                } >        } > } > -- > indexWriterConfig.setIndexDeletionPolicy(new > PostponeCommitDeletionPolicy()); &g

Re: Why read past EOF

2012-02-07 Thread superruiye
kTrace(); } } } -- indexWriterConfig.setIndexDeletionPolicy(new PostponeCommitDeletionPolicy()); -- and I use a time task(10 minutes) to reopen indexsearcher,but still read past EOF...the trace: java.io.IOException: read past EOF

Re: Why read past EOF

2012-02-06 Thread superruiye
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:356) at com.ableskysearch.migration.search.IndexManagerImpl$1.getResultList(IndexManagerImpl.java:608) It appear unfrequently.And can't search that time,but goes well soon. -- View this message in context: http://lucene.472066.n3.nabble.com/Why-read-pas

Re: Why read past EOF

2012-02-03 Thread Michael McCandless
           if (present - commits.get(i).getVersion() > > deletionPostPone){ > //deletionPostPone=60 >                                commits.get(i).delete(); >                        } >                } >        } > > -- > View this message in context: > http

Re: Why read past EOF

2012-02-02 Thread superruiye
delete(); } } } -- View this message in context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3712006.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-un

Re: Why read past EOF

2012-02-02 Thread superruiye
CommitPoint.delete() (eg.10 minutes) and reopen indexsearcher every minutes? -- View this message in context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3711995.html Sent from the Lucene - Java Users mailing list archive at Nabble.com

Re: Why read past EOF

2012-02-01 Thread Michael McCandless
e deleted.I use default > IndexDeletionPolicy: KeepOnlyLastCommitDeletionPolicy.And another two > IndexDeletionPolicy,SnapshotDeletionPolicy and > PersistentSnapshotDeletionPolicy,I am watching now.Are they useful to this > problem? > > -- > View this message in context: > h

Re: Why read past EOF

2012-01-31 Thread superruiye
in context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3705542.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For

Re: Why read past EOF

2012-01-09 Thread Michael McCandless
Mon, Jan 9, 2012 at 4:10 AM, superruiye wrote: > yes,i use it to share index,and one server is master to writer and read;the > others are slaver,read only. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3644074.html >

Re: Why read past EOF

2012-01-09 Thread superruiye
yes,i use it to share index,and one server is master to writer and read;the others are slaver,read only. -- View this message in context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3644074.html Sent from the Lucene - Java Users mailing list archive at Nabble.com

Re: Why read past EOF

2012-01-07 Thread Michael McCandless
or two(it appear two times,first run > one week,second two),it can't be searched,and the trace at below. > Thank you! > > java.io.IOException: read past EOF >        at > org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:207) >        at > org.a

Why read past EOF

2012-01-07 Thread superruiye
Hi, I use lucene 3.4.0 in a search project,but encounter a problem and i don't know how to resolve. I index and it run well,but one week or two(it appear two times,first run one week,second two),it can't be searched,and the trace at below. Thank you! java.io.IOException: rea

Re: Why read past EOF

2012-01-07 Thread superruiye
context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3639430.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For

Re: Why read past EOF

2012-01-07 Thread superruiye
in context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3639432.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For

Re: read past EOF

2010-08-11 Thread Michael McCandless
ards > Ganesh > > - Original Message - > From: "Michael McCandless" > To: > Sent: Wednesday, August 11, 2010 3:28 PM > Subject: Re: read past EOF > > > It looks like it may be this issue: > >    https://issues.apache.org/jira/browse/LUCENE-2593 > > Bu

Re: read past EOF

2010-08-11 Thread Ganesh
I am using Lucene 2.9.1 and there was no exception in the past. Regards Ganesh - Original Message - From: "Michael McCandless" To: Sent: Wednesday, August 11, 2010 3:28 PM Subject: Re: read past EOF It looks like it may be this issue: https://issues.apache.org/j

Re: read past EOF

2010-08-11 Thread Michael McCandless
: > Hello all, > > I am getting the following exception for one of my customer. I think the > database is corrupted but want to know the exact cause. > >            Exception: read past EOF >             > org.apache.lucene.store.BufferedIndexInput.readBytes(Buf

read past EOF

2010-08-10 Thread Ganesh
Hello all, I am getting the following exception for one of my customer. I think the database is corrupted but want to know the exact cause. Exception: read past EOF org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:135

Re: java.io.IOException: read past EOF since migration to 2.9.1

2010-02-17 Thread Michael van Rooyen
Toke Eskildsen wrote: On Wed, 2010-02-17 at 15:18 +0100, Michael van Rooyen wrote: I recently upgraded from version 2.3.2 to 2.9.1. [...] Since going live a few days ago, however, we've twice had read past EOF exceptions. The first thing to do is check the Java version. If you're

Re: java.io.IOException: read past EOF since migration to 2.9.1

2010-02-17 Thread Michael van Rooyen
Toke Eskildsen wrote: On Wed, 2010-02-17 at 15:18 +0100, Michael van Rooyen wrote: I recently upgraded from version 2.3.2 to 2.9.1. [...] Since going live a few days ago, however, we've twice had read past EOF exceptions. The first thing to do is check the Java version. If y

Re: java.io.IOException: read past EOF since migration to 2.9.1

2010-02-17 Thread Toke Eskildsen
On Wed, 2010-02-17 at 15:18 +0100, Michael van Rooyen wrote: > I recently upgraded from version 2.3.2 to 2.9.1. [...] > Since going live a few days ago, however, we've twice had read past EOF > exceptions. The first thing to do is check the Java version. If you're using Sun J

java.io.IOException: read past EOF since migration to 2.9.1

2010-02-17 Thread Michael van Rooyen
ine in testing. Since going live a few days ago, however, we've twice had read past EOF exceptions. The first time it happened, I checked the index and an error had crept into the deleted docs count on the main segment: Segments file=segments_cefg numSegments=4 version=FORMAT_DIAGNOSTICS

Lucene 2.9.1 'read past EOF' IOException under system load

2010-01-19 Thread Franz Garsombke
mode) Linux version: Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux The exception we have seen: Caused by: java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:151) at

Re: Read past EOF

2009-04-29 Thread Michael McCandless
> test case and work out a fix.  Hmm. > > Thanks for raising this! > > Mike > > On Tue, Apr 28, 2009 at 7:53 AM, Mike Streeton > wrote: >> I have an index that works fine on Lucene 2.3.2 but fails to open in 2.4.1, >> it always fails with an Read past EOF. The

Re: Read past EOF

2009-04-28 Thread Michael McCandless
fine on Lucene 2.3.2 but fails to open in 2.4.1, > it always fails with an Read past EOF. The index does contain some field > names with german umlaut characters in > > Any ideas? > > Many Thanks > > Mike > > CheckIndex v2.3.2 > > > NOTE: tes

RE: Read past EOF

2009-04-28 Thread Mike Streeton
2009 12:53 To: java-user@lucene.apache.org Subject: Read past EOF I have an index that works fine on Lucene 2.3.2 but fails to open in 2.4.1, it always fails with an Read past EOF. The index does contain some field names with german umlaut characters in Any ideas? Many Thanks Mike CheckIndex

Read past EOF

2009-04-28 Thread Mike Streeton
I have an index that works fine on Lucene 2.3.2 but fails to open in 2.4.1, it always fails with an Read past EOF. The index does contain some field names with german umlaut characters in Any ideas? Many Thanks Mike CheckIndex v2.3.2 NOTE: testing will be more thorough if you run java with

Re: java.io.IOException: read past EOF non-corrupt index

2009-01-07 Thread 1world1love
don't know what happens when Lucene opens the index, but 18GB is a pretty big file. My admins say that Oracle has as much memory as it needs, but I am not sure. Maybe Marcelo has some thoughts on this. -- View this message in context: http://www.nabble.com/java.io.IOException%3A-read-past-EO

Re: java.io.IOException: read past EOF non-corrupt index

2009-01-07 Thread Marcelo Ochoa
xrwxrwx 1 sdapp sdapp 59 Dec 30 13:22 segments_1q9 > -rwxrwxrwx 1 sdapp sdapp 20 Dec 30 13:22 segments.gen > -rwxrwxrwx 1 sdapp sdapp 18G Dec 30 13:22 _v3.cfs > > -- > View this message in context: > http://www.nabble.com/java.io.IOException%3A-read-past-EOF-non-corrupt-ind

Re: java.io.IOException: read past EOF non-corrupt index

2009-01-07 Thread 1world1love
pp sdapp 59 Dec 30 13:22 segments_1q9 -rwxrwxrwx 1 sdapp sdapp 20 Dec 30 13:22 segments.gen -rwxrwxrwx 1 sdapp sdapp 18G Dec 30 13:22 _v3.cfs -- View this message in context: http://www.nabble.com/java.io.IOException%3A-read-past-EOF-non-corrupt-index-tp21319971p21334530.ht

Re: java.io.IOException: read past EOF non-corrupt index

2009-01-07 Thread 1world1love
tion%3A-read-past-EOF-non-corrupt-index-tp21319971p21334347.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands,

Re: java.io.IOException: read past EOF non-corrupt index

2009-01-07 Thread 1world1love
is called from a Java stored procedure within the Ojvm. I also created the original index from a stored procedure within the Ojvm. I can't open it with Luke because I only have CLI access or through the Ojvm. -- View this message in context: http://www.nabble.com/java.io.IOE

Re: java.io.IOException: read past EOF non-corrupt index

2009-01-07 Thread Michael McCandless
to open the index I get this: java.io.IOException: read past EOF at org .apache .lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java) at org.apache.lucene.index.CompoundFileReader $CSIndexInput.readInternal(CompoundFileReader.java)

Re: java.io.IOException: read past EOF non-corrupt index

2009-01-07 Thread Toke Eskildsen
On Tue, 2009-01-06 at 23:07 +0100, 1world1love wrote: > Greetings all. I have an index that I have optimized and when I try to open > the index I get this: > > java.io.IOException: read past EOF A quick check when a corrupt index problem is encountered: Does any of your machi

Re: java.io.IOException: read past EOF non-corrupt index

2009-01-06 Thread Erick Erickson
open > the index I get this: > > java.io.IOException: read past EOF >at > > org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java) >at > > org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInterna

java.io.IOException: read past EOF non-corrupt index

2009-01-06 Thread 1world1love
Greetings all. I have an index that I have optimized and when I try to open the index I get this: java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java) at org.apache.lucene.index.CompoundFileReader

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-30 Thread Marcelo Ochoa
>>>> 22 _0.fnm >>>> 48 _0.fdt >>>> 20 _0.fdx >>>> 62 segments_2 >>>> I'll add some debugging information at my classes which save/load >>>> buffers t

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-30 Thread Michael McCandless
hread]: DW: apply 2 buffered deleted terms and 0 deleted docIDs and 0 deleted queries on 3 segments. IW 3 [Root Thread]: hit exception flushing deletes Exception in thread "Root Thread" java.io.IOException: read past EOF at org .apache .lucene.store.BufferedIndexInput.refill(BufferedIndexInput

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-30 Thread Marcelo Ochoa
new index? >>> >>> We did change the index format in 2.4 to use "true" UTF8 encoding for all >>> text content; not sure that this applies here (to BufferedIndexReader >>> it's >>> all bytes)

RE: [SPAM] - Re: Caused by: java.io.IOException: read past EOF on Slave - Found word(s) list error in the Text body

2008-09-29 Thread Jimi Hullegård
| +46 765 27 19 55 | [EMAIL PROTECTED] | www.mogul.com > -Original Message- > From: Marcelo Ochoa [mailto:[EMAIL PROTECTED] > Sent: den 26 september 2008 20:54 > To: java-user@lucene.apache.org > Subject: [SPAM] - Re: Caused by: java.io.IOException: read > past EOF on Sl

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-29 Thread Michael McCandless
ize=264 docs/MB=7,943.758 new/old=0.237% IW 3 [Root Thread]: DW: apply 2 buffered deleted terms and 0 deleted docIDs and 0 deleted queries on 3 segments. IW 3 [Root Thread]: hit exception flushing deletes Exception in thread "Root Thread" java.io.IOException: read past EOF at or

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-26 Thread rahul_k123
le system is ext3 > > OK. > > Mike > > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-26 Thread Marcelo Ochoa
rue flushDocStores=false >> numDocs=2 numBufDelTerms=2 >> IW 3 [Root Thread]: index before flush _1:C2->_1 _2:C2->_2 >> IW 3 [Root Thread]: DW: flush postings as segment _3 numDocs=2 >> IW 3 [Root Thread]: DW: oldRAMSize=111616 newFlushedSize=264 >> doc

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-26 Thread Michael McCandless
Which version of Lucene is this? Looks like 2.3.x -- what's the x? Can you run your app server with assertions enabled for org.apache.lucene.*? It may catch something sooner. Can you try running CheckIndex after the snapshot is produced, just to see if there is any corruption? Your fir

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-26 Thread Michael McCandless
Exception in thread "Root Thread" java.io.IOException: read past EOF at org .apache .lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java) at org .apache .lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java) at org .apache .lucen

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-26 Thread rahul_k123
ecutor >> $Worker.run(ThreadPoolExecutor.java:907) >>at java.lang.Thread.run(Thread.java:619) >> Caused by: com.IndexingException: [SYSTEM_ERROR] Cannot access index >> [data_dir/index]: [read past EOF] >>at >> c

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-26 Thread Marcelo Ochoa
gments. IW 3 [Root Thread]: hit exception flushing deletes Exception in thread "Root Thread" java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java) at org.apache.lucene.store.BufferedIndexInput.readBytes(Buffere

Re: Caused by: java.io.IOException: read past EOF on Slave

2008-09-26 Thread Michael McCandless
java.lang.Thread.run(Thread.java:619) Caused by: com.IndexingException: [SYSTEM_ERROR] Cannot access index [data_dir/index]: [read past EOF] at com .lucene .LuceneSearchService.getSearchResults(LuceneSearchService.java:964) ... 12 more Caused by: java.io.IOException: read past EOF

Caused by: java.io.IOException: read past EOF on Slave

2008-09-25 Thread rahul_k123
(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: com.IndexingException: [SYSTEM_ERROR] Cannot access index [data_dir/index]: [read past EOF] at

RE: IndexReader.getTermFreqVectors() throws Read past EOF exception

2006-11-13 Thread Jean-Francois Beaulac
Thank you very much, it works now! -Message d'origine- De : Chris Hostetter [mailto:[EMAIL PROTECTED] Envoyé : November 13, 2006 3:30 PM À : java-user@lucene.apache.org Objet : RE: IndexReader.getTermFreqVectors() throws Read past EOF exception : - Then I call Hits searc

RE: IndexReader.getTermFreqVectors() throws Read past EOF exception

2006-11-13 Thread Chris Hostetter
: - Then I call Hits searchHits = multi.search(luceneQuery); : - After that I loop on my hits, and use: : : ((IndexSearcher)multi.getSearchables()[multi.subSearcher(searchHits.id(k))]). : getIndexReader().getTermFreqVectors(searchHits.id(k)) I don't know a lot about multi-searcher, but that doesn

RE: IndexReader.getTermFreqVectors() throws Read past EOF exception

2006-11-13 Thread Jean-Francois Beaulac
UCENE--> start=" + bufferStart +" + " + bufferPosition); long end = start + BUFFER_SIZE; System.out.println("LUCENE--> end=" + start +" + " + BUFFER_SIZE); if (end > length())

RE: IndexReader.getTermFreqVectors() throws Read past EOF exception

2006-11-13 Thread Jean-Francois Beaulac
Grant Ingersoll [mailto:[EMAIL PROTECTED] Envoyé : November 13, 2006 11:08 AM À : java-user@lucene.apache.org Objet : Re: IndexReader.getTermFreqVectors() throws Read past EOF exception Can you provide more info on your setup? Can you run a search against just one of the other subsearchers and s

Re: IndexReader.getTermFreqVectors() throws Read past EOF exception

2006-11-13 Thread Grant Ingersoll
Can you provide more info on your setup? Can you run a search against just one of the other subsearchers and see if you get term vectors that way? That is, simplify the process by taking the MultiSearcher out of the equation to see if you get valid results. On Nov 12, 2006, at 3:50 PM, J

RE: IndexReader.getTermFreqVectors() throws Read past EOF exception

2006-11-12 Thread Jean-Francois Beaulac
Forgot to post the stacktrace java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:60) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:33) at

IndexReader.getTermFreqVectors() throws Read past EOF exception

2006-11-12 Thread Jean-Francois Beaulac
Hi, I make a search on several indexes using a MultiSearcher and I can only retrieve the TermFreqVectors from the IndexSearcher in the Searcher at position 0 in my searchable array. For example (): hits = multi.search(luceneQuery); for (int k = 0; k < hits.length(); k++) { ((IndexSearc

Re: java.io.IOException: read past EOF

2006-10-16 Thread John Gilbert
turns out i needed a seek method. i ended up modeling it after the RAM Directory. i turned the RAMFile into an @Entity. the directory accesses the EntityManager. and i am using JBossCache. preliminary testing shows comparable response times.

java.io.IOException: read past EOF

2006-10-15 Thread John Gilbert
section of the .cfs file. Does anyone have any suggestions? Thanks! Here is more background info: - Using version 1.4.3 - Stack trace java.io.IOException: read past EOF at org.apache.lucene.store.InputStream.refill(InputStream.java:154) at org.apache.lucene.store.InputStream.readByte

Re: java.io.IOException: read past EOF

2006-10-14 Thread Doron Cohen
John Gilbert <[EMAIL PROTECTED]> wrote on 14/10/2006 20:14:43: > I am trying to write an Ejb3Directory. It seems to work for index > writing but not for searching. > I get the EOF exception. I assume this means that either my > OutputStream or InputStream is doing > something wrong. It fails becaus

java.io.IOException: read past EOF

2006-10-14 Thread John Gilbert
section of the .cfs file. Does anyone have any suggestions? Thanks! Here is more background info: - Using version 1.4.3 - Stack trace java.io.IOException: read past EOF at org.apache.lucene.store.InputStream.refill(InputStream.java:154) at org.apache.lucene.store.InputStream.readByte

Re: read past EOF

2006-09-08 Thread Michael McCandless
Bhavin Pandya wrote: It sounds like you're working with the index correctly, so I don't have any other ideas on why you're getting CFS files that are truncated. I would wory about the "cp" step filling up disk, but if you're nowhere near filling up disk that's not the root cause here. I h

Re: read past EOF

2006-09-08 Thread Bhavin Pandya
like "no space left"...but when i gone through all the log i tracked it sucessfully. Thanks for your help - Bhavin pandya - Original Message - From: "Michael McCandless" <[EMAIL PROTECTED]> To: Sent: Friday, September 01, 2006 5:07 PM Subject: R

Re: read past EOF

2006-09-01 Thread Michael McCandless
ut the "cp" step filling up disk, but if you're nowhere near filling up disk that's not the root cause here. Does this happen intermittantly? Or it happened once and now it's gone? Or is it easy to reproduce? Is there any way through which I can check if index is co

Re: read past EOF

2006-08-30 Thread Bhavin Pandya
where "newindex" is the index which I am using for indexing"index" which i am using for search purposeand "backupindex" contains previous index. Is there any way through which I can check if index is corrupt or not....right now because of this exception (read

Re: read past EOF

2006-08-30 Thread Michael McCandless
Bhavin Pandya wrote: My guess is ..."One of my index is got corrupted so whenever I am trying to search the index or optimize the index or merging the multiple index ...It will throws same exception but from different class...sometime from IndexReader or sometime from IndexWriter depends on how

Re: read past EOF

2006-08-30 Thread Bhavin Pandya
Hi Mike, Here is the full stack trace of error which I got at search time 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

Re: read past EOF

2006-08-30 Thread Michael McCandless
Bhavin Pandya wrote: I am running lucene 1.9 on unix machine...updating my index very frequentlyafter few updation it says "read past eof" I know this exception generally comes when one of the index got corrupted...but i dont know why it got corrupted ? may be mine code proble

read past EOF

2006-08-30 Thread Bhavin Pandya
Hi, Can anyone have any idea that what are the reason to lucene index got corrupted ? I am running lucene 1.9 on unix machine...updating my index very frequentlyafter few updation it says "read past eof" I know this exception generally comes when one of the index got corrupte

Re: Read past EOF error in Windows

2006-03-23 Thread Raghavendra Prabhu
org > Sent: Tue, 21 Mar 2006 15:33:26 + (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)

Re: Read past EOF error in Windows

2006-03-23 Thread Chris Cain
- From: Chris Cain To: java-user[at]lucene.apache.org Sent: Tue, 21 Mar 2006 15:33:26 + (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

Re: Read past EOF error in Windows

2006-03-21 Thread msftblows
:33:26 + (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

Read past EOF error in Windows

2006-03-21 Thread Chris Cain
, 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

RE: java.io.IOException: read past EOF in BufferedIndexInput.refill

2006-01-24 Thread Dmitry Goldenberg
clues? From: Dmitry Goldenberg [mailto:[EMAIL PROTECTED] Sent: Tue 1/24/2006 3:52 PM To: java-user@lucene.apache.org Cc: java-dev@lucene.apache.org Subject: java.io.IOException: read past EOF in BufferedIndexInput.refill Has anyone seen this exception and been able to resolve the

java.io.IOException: read past EOF in BufferedIndexInput.refill

2006-01-24 Thread Dmitry Goldenberg
Has anyone seen this exception and been able to resolve the cause? I have seen numerous mentions of it in the Lucene lists archives but no resolutions, looks like. Anyone? Thanks. java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill

  1   2   >