org.apache.lucene.store.AlreadyClosedException - Can this be ignored?


#1

Cross-posting from [stackoverflow] (https://stackoverflow.com/questions/48415289/elasticsearch-org-apache-lucene-store-alreadyclosedexception-can-this-be-ign) as I did not get any response there.

I am seeing an exception like below in my log. Can this be ignored ? I am confused after going through the below discussion whether this is harmless or not

We are using Elasticsearch with default store on linux.

Can some one let me know what is the impact of this exception ?

[2018-01-23 09:51:43,240][DEBUG][action.admin.cluster.node.stats] [Redneck] failed to execute on node [VBrl3cgpR2-ztgIpBLugTw]
RemoteTransportException[[Redneck][172.35.0.191:9300][cluster:monitor/nodes/stats[n]]]; nested: AlreadyClosedException[this IndexReader cannot be used anymore as one of its child readers was closed];
Caused by: org.apache.lucene.store.AlreadyClosedException: this IndexReader cannot be used anymore as one of its child readers was closed
        at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:279)
        at org.apache.lucene.index.FilterLeafReader.fields(FilterLeafReader.java:415)
        at org.elasticsearch.search.suggest.completion.Completion090PostingsFormat.completionStats(Completion090PostingsFormat.java:333)
        at org.elasticsearch.index.shard.IndexShard.completionStats(IndexShard.java:765)
        at org.elasticsearch.action.admin.indices.stats.CommonStats.<init>(CommonStats.java:164)
        at org.elasticsearch.indices.IndicesService.stats(IndicesService.java:253)
        at org.elasticsearch.node.service.NodeService.stats(NodeService.java:158)
        at org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.nodeOperation(TransportNodesStatsAction.java:82)
        at org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.nodeOperation(TransportNodesStatsAction.java:44)
        at org.elasticsearch.action.support.nodes.TransportNodesAction.nodeOperation(TransportNodesAction.java:92)
        at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:230)
        at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:226)
        at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:75)
        at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:376)
        at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.