org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed

GitHub | suiyuan2009 | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 16083#233583009

    GitHub | 8 months ago | suiyuan2009
    org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
  2. 0

    org.apache.lucene.index.CorruptIndexException: checksum failed (hardware problem?)

    GitHub | 1 year ago | mobidevadmin
    org.apache.lucene.index.CorruptIndexException: checksum failed (hardware problem?) : expected=9ea446d9 actual=fb46cdc (resource=BufferedChecksumIndexInput(NIOFSIndexInput (path="/data/elasticsearch2/data/kibana4/nodes/0/indices/logstash-2016.01.19/1/index/_xo.cfs") [slice=_xo_Lucene50_0.doc]))

    Root Cause Analysis

    1. 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()
    2. Lucene
      CodecUtil.checksumEntireFile
      1. org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:365)
      2. org.apache.lucene.codecs.CodecUtil.checksumEntireFile(CodecUtil.java:469)
      2 frames
    3. org.apache.lucene
      Lucene50PostingsReader.checkIntegrity
      1. org.apache.lucene.codecs.lucene50.Lucene50PostingsReader.checkIntegrity(Lucene50PostingsReader.java:1286)
      1 frame
    4. Lucene
      ConcurrentMergeScheduler$MergeThread.run
      1. org.apache.lucene.codecs.blocktree.BlockTreeTermsReader.checkIntegrity(BlockTreeTermsReader.java:336)
      2. org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.checkIntegrity(PerFieldPostingsFormat.java:317)
      3. org.apache.lucene.codecs.FieldsConsumer.merge(FieldsConsumer.java:96)
      4. org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:211)
      5. org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:96)
      6. org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4099)
      7. org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3679)
      8. org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588)
      9. org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626)
      9 frames