org.apache.lucene.store.AlreadyClosedException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 16083#233583009
    via GitHub by suiyuan2009
    ,
  • Elasticsearch index got corrupted
    via Stack Overflow by Global Warrior
    ,
  • Graylog fails to start due to ElasticSearch crash
    via by nico...@gmail.com,
  • Solr Read Index Files
    via Stack Overflow by B.Mr.W.
    ,
  • Failed to merge indices Elasticsearch
    via Stack Overflow by tlll
    ,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,