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 "Zhang, Lisheng" <Li...@BroadVision.com> on 2013/08/19 20:56:44 UTC

Can we use glusterfs to replicate indexed data from one box to another ?

Hi,
 
We are considering to use glusterfs to replicate indexed data from one box to another, I searched
Google and found that some people did seem to use glusterfs for this purpose, we are using lucene
3.6.
 
I tested read/write in parallel (thread to search and another thread to index), and found from time to
time we have Exceptions:
 
java.io.EOFException: read past EOF: anonymous BuffereIndexInput
        at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:264)
        at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:40)
        at org.apache.lucene.store.DataInput.readVInt(DataInput.java:107)
        at org.apache.lucene.store.BufferedIndexInput.readVInt(BufferedIndexInput.java:217)
        at org.apache.lucene.index.SegmentTermDocs.read(SegmentTermDocs.java:153)
        at org.apache.lucene.search.TermScorer.nextDoc(TermScorer.java:112)
        at org.apache.lucene.search.TermScorer.score(TermScorer.java:67)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:581)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:517)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:487)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:400)
 
We used SimpleFSDirectory, any guidance of using lucene/glusterfs would be greatly appreciated.
 
Best regards, Lisheng

Re: Can we use glusterfs to replicate indexed data from one box to another ?

Posted by bhussein <bh...@espresso.co.uk>.
Hi, 

Has this issue been resolved yet? as i am facing a similar issues now. 

thanks,
b



--
View this message in context: http://lucene.472066.n3.nabble.com/Can-we-use-glusterfs-to-replicate-indexed-data-from-one-box-to-another-tp4085528p4100258.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org