You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by bsargurunathan <bs...@gmail.com> on 2011/08/12 12:48:19 UTC
java.lang.RuntimeException: after flush
Hi all,
This is am facing the exception randomly. Please anyone tell me the solution
java.lang.RuntimeException: after flush: fdx size mismatch: 321 docs vs 0
length in bytes of _8a.fdx
ERROR> com.ssc.soareg.common.IDF_115796[Thread-1572]:
java.lang.RuntimeException: after flush: fdx size mismatch: 321 docs vs 0
length in bytes of _8a.fdx
java.lang.RuntimeException: after flush: fdx size mismatch: 321 docs vs 0
length in bytes of _8a.fdx
at
org.apache.lucene.index.StoredFieldsWriter.closeDocStore(StoredFieldsWriter.java:94)
at
org.apache.lucene.index.DocFieldConsumers.closeDocStore(DocFieldConsumers.java:83)
at
org.apache.lucene.index.DocFieldProcessor.closeDocStore(DocFieldProcessor.java:47)
at
org.apache.lucene.index.DocumentsWriter.closeDocStore(DocumentsWriter.java:367)
at
org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:567)
at
org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3540)
at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3450)
at
org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1638)
at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1602)
at
org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1578)
at
com.ssc.soareg.lucene.SmartSearch.closeIndexWriter(SmartSearch.java:42)
at
com.ssc.soareg.lucene.SmartSearch.rebuildIndexes(SmartSearch.java:241)
at com.ssc.soareg.common.IDF_115796.process(IDF_115796.java:259)
at com.ssc.faw.intref2.IDFA_Load.process(Unknown Source)
at com.ssc.faw.intref2.Service.process(Unknown Source)
at com.ssc.faw.intref2.Service.process(Unknown Source)
at com.ssc.faw.xdata.XdataClientServletThread.run(Unknown Source)
INFO > com.ssc.faw.common.LogManager[Thread-1572]: Processing Took: 1887
INFO > com.ssc.faw.common.LogTransaction[Thread-1572]: Transaction Message =
INTR_1311711360220 END FAW FAW INTREF2 115796 TABLE 1889
Thanks
--
View this message in context: http://lucene.472066.n3.nabble.com/java-lang-RuntimeException-after-flush-tp3248888p3248888.html
Sent from the Lucene - General mailing list archive at Nabble.com.
Re: java.lang.RuntimeException: after flush
Posted by Simon Willnauer <si...@googlemail.com>.
so here are a couple of things that I wonder about:
1. are you using NFS or any other network file system?
2. is it possible to enable the infoStream on the IW and get the output?
3. is it possible that the lucene index is deleted somehow by a second
process while we are flushing?
simon
On Fri, Aug 12, 2011 at 1:51 PM, bsargurunathan
<bs...@gmail.com> wrote:
> Lucene Version 2.4.2...
> Can you please how to resolve this Exception..
>
> Thanks
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/java-lang-RuntimeException-after-flush-tp3248888p3249017.html
> Sent from the Lucene - General mailing list archive at Nabble.com.
>
Re: java.lang.RuntimeException: after flush
Posted by bsargurunathan <bs...@gmail.com>.
Lucene Version 2.4.2...
Can you please how to resolve this Exception..
Thanks
--
View this message in context: http://lucene.472066.n3.nabble.com/java-lang-RuntimeException-after-flush-tp3248888p3249017.html
Sent from the Lucene - General mailing list archive at Nabble.com.
Re: java.lang.RuntimeException: after flush
Posted by Simon Willnauer <si...@googlemail.com>.
hey,
which version of lucene are you using and what filesystem are you flushing to?
simon
On Fri, Aug 12, 2011 at 12:48 PM, bsargurunathan
<bs...@gmail.com> wrote:
> Hi all,
> This is am facing the exception randomly. Please anyone tell me the solution
>
> java.lang.RuntimeException: after flush: fdx size mismatch: 321 docs vs 0
> length in bytes of _8a.fdx
>
> ERROR> com.ssc.soareg.common.IDF_115796[Thread-1572]:
> java.lang.RuntimeException: after flush: fdx size mismatch: 321 docs vs 0
> length in bytes of _8a.fdx
>
> java.lang.RuntimeException: after flush: fdx size mismatch: 321 docs vs 0
> length in bytes of _8a.fdx
> at
> org.apache.lucene.index.StoredFieldsWriter.closeDocStore(StoredFieldsWriter.java:94)
> at
> org.apache.lucene.index.DocFieldConsumers.closeDocStore(DocFieldConsumers.java:83)
> at
> org.apache.lucene.index.DocFieldProcessor.closeDocStore(DocFieldProcessor.java:47)
> at
> org.apache.lucene.index.DocumentsWriter.closeDocStore(DocumentsWriter.java:367)
> at
> org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:567)
> at
> org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3540)
> at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3450)
> at
> org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1638)
> at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1602)
> at
> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1578)
> at
> com.ssc.soareg.lucene.SmartSearch.closeIndexWriter(SmartSearch.java:42)
> at
> com.ssc.soareg.lucene.SmartSearch.rebuildIndexes(SmartSearch.java:241)
> at com.ssc.soareg.common.IDF_115796.process(IDF_115796.java:259)
> at com.ssc.faw.intref2.IDFA_Load.process(Unknown Source)
> at com.ssc.faw.intref2.Service.process(Unknown Source)
> at com.ssc.faw.intref2.Service.process(Unknown Source)
> at com.ssc.faw.xdata.XdataClientServletThread.run(Unknown Source)
> INFO > com.ssc.faw.common.LogManager[Thread-1572]: Processing Took: 1887
> INFO > com.ssc.faw.common.LogTransaction[Thread-1572]: Transaction Message =
> INTR_1311711360220 END FAW FAW INTREF2 115796 TABLE 1889
>
> Thanks
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/java-lang-RuntimeException-after-flush-tp3248888p3248888.html
> Sent from the Lucene - General mailing list archive at Nabble.com.
>