lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 董自鸣 <dzm1016397...@gmail.com>
Subject org.apache.lucene.index.CorruptIndexException: checksum failed
Date Wed, 20 Jul 2016 10:57:10 GMT
I use ubuntu to run lucene(java8, lucene6.0.0, not ES), and nfs to mount
disk(actually is rocketstor) of macmini. I get this error constantly. I
have already used org.apache.lucene.index.CheckIndex, but will still crash
after restart program.


Exception in thread "main" org.apache.lucene.store.AlreadyClosedException:
this IndexWriter is closed at
org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:724) at
org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:738) at
org.apache.lucene.index.IndexWriter.numDocs(IndexWriter.java:1198) at
xxxx.xxxxx.search.XxxxxxxxIndexer.close(XxxxxxxxIndexer.java:184) at
xxxx.xxxxx.search.ThreadedXxxxxxxxIndexer.close(ThreadedXxxxxxxxIndexer.java:59)
at
xxxx.xxxxx.search.ThreadedXxxxxxxxIndexer.main(ThreadedXxxxxxxxIndexer.java:136)
Caused by: org.apache.lucene.index.CorruptIndexException: checksum failed
(hardware problem?) : expected=51fbdb5c actual=6e964d17
(resource=BufferedChecksumIndexInput(MMapIndexInput(path="/mnt/HPT8_56T/xxxxxxxxx-index/index1/_mq.cfs")
[slice=_mq_Lucene50_0.pos])) at
org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:365) at
org.apache.lucene.codecs.CodecUtil.checksumEntireFile(CodecUtil.java:469)
at
org.apache.lucene.codecs.lucene50.Lucene50PostingsReader.checkIntegrity(Lucene50PostingsReader.java:1286)
at
org.apache.lucene.codecs.blocktree.BlockTreeTermsReader.checkIntegrity(BlockTreeTermsReader.java:336)
at
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.checkIntegrity(PerFieldPostingsFormat.java:317)
at org.apache.lucene.codecs.FieldsConsumer.merge(FieldsConsumer.java:96) at
org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:211) at
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:96) at
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4099) at
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3679) at
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588)
at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626)

-- 
*suiyuan*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message