lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Lynch (JIRA)" <>
Subject [jira] Created: (LUCENE-2538) IndexReader.reopen on SSHFS mounted index eventually fails with read past EOF
Date Thu, 15 Jul 2010 15:38:49 GMT
IndexReader.reopen on SSHFS mounted index eventually fails with read past EOF

                 Key: LUCENE-2538
             Project: Lucene - Java
          Issue Type: Bug
          Components: Search
    Affects Versions: 2.9.3
         Environment:  Linux 2.6.31-302-rs #7 SMP x86_64 
Ubuntu 9.10 
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
            Reporter: Max Lynch
            Priority: Minor

I have an index that Solr manages (as the sole known writer).  I have mounted it over sshfs.
 Periodically calling IndexReader.reopen() on that index will result in the following error:

     [java] read past EOF
     [java]     at
     [java]     at
     [java]     at
     [java]     at org.apache.lucene.index.FieldsReader.<init>(
     [java]     at org.apache.lucene.index.SegmentReader$CoreReaders.openDocStores(
     [java]     at org.apache.lucene.index.SegmentReader.get(
     [java]     at org.apache.lucene.index.SegmentReader.get(
     [java]     at org.apache.lucene.index.DirectoryReader.<init>(
     [java]     at org.apache.lucene.index.ReadOnlyDirectoryReader.<init>(
     [java]     at org.apache.lucene.index.DirectoryReader.doReopen(
     [java]     at org.apache.lucene.index.DirectoryReader.access$000(
     [java]     at org.apache.lucene.index.DirectoryReader$2.doBody(
     [java]     at org.apache.lucene.index.SegmentInfos$
     [java]     at org.apache.lucene.index.DirectoryReader.doReopenNoWriter(
     [java]     at org.apache.lucene.index.DirectoryReader.doReopen(
     [java]     at org.apache.lucene.index.DirectoryReader.reopen(

I've read in other similar bugs that this indicates a corrupt index.  I have had no problems
with the index so far and solr seems be fine with it, so I'm not sure if that's the case.
 I know mounting an index over sshfs is not recommended, and I have since moved to solr replication,
but I wanted to report this in case someone else encounters it.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message