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.

    • org.apache.lucene.store.AlreadyClosedException: refusing to delete any files: this IndexWriter hit an unrecoverable exception at org.apache.lucene.index.IndexFileDeleter.ensureOpen(IndexFileDeleter.java:350) at org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:728) at org.apache.lucene.index.IndexFileDeleter.refresh(IndexFileDeleter.java:460) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3558) at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:581) at org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:94) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:619) Caused by: java.lang.OutOfMemoryError: Java heap space at org.apache.lucene.index.DefaultIndexingChain.getOrAddField(DefaultIndexingChain.java:489) at org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:342) at org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:300) at org.apache.lucene.index.DocumentsWriterPerThread.updateDocuments(DocumentsWriterPerThread.java:271) at org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:420) at org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1204) at org.elasticsearch.index.engine.InternalEngine.innerIndex(InternalEngine.java:527) at org.elasticsearch.index.engine.InternalEngine.index(InternalEngine.java:444) at org.elasticsearch.index.shard.TranslogRecoveryPerformer.performRecoveryOperation(TranslogRecoveryPerformer.java:169) at org.elasticsearch.index.shard.TranslogRecoveryPerformer.performBatchRecovery(TranslogRecoveryPerformer.java:87) at org.elasticsearch.index.shard.IndexShard.performBatchRecovery(IndexShard.java:859) at org.elasticsearch.indices.recovery.RecoveryTarget$TranslogOperationsRequestHandler.messageReceived(RecoveryTarget.java:306) at org.elasticsearch.indices.recovery.RecoveryTarget$TranslogOperationsRequestHandler.messageReceived(RecoveryTarget.java:295) at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.doRun(MessageChannelHandler.java:299) at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
    No Bugmate found.