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

**URL:** <https://discuss.elastic.co/t/org-apache-lucene-store-alreadyclosedexception-can-this-be-ignored/116801>\
**Category:** Elasticsearch\
**Created:** [January 24, 2018, 5:14am UTC](https://discuss.elastic.co/t/org-apache-lucene-store-alreadyclosedexception-can-this-be-ignored/116801 "2018-01-24T05:14:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deb/32/46162_2.png) [@Deb](https://discuss.elastic.co/u/Deb)\
**Post date:** [January 24, 2018, 5:14am UTC](https://discuss.elastic.co/t/org-apache-lucene-store-alreadyclosedexception-can-this-be-ignored/116801/1 "2018-01-24T05:14:19Z")

</div>

Cross-posting from [stackoverflow] ([https://stackoverflow.com/questions/48415289/elasticsearch-org-apache-lucene-store-alreadyclosedexception-can-this-be-ign](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

- [RemoteTransportException - AlreadyClosedException[this IndexReader is closed]](https://discuss.elastic.co/t/remotetransportexception-alreadyclosedexception-this-indexreader-is-closed/49577) - Says this is mostly harmless if we are not using `mmapfs`
- [org.apache.lucene.store.AlreadyClosedException](https://discuss.elastic.co/t/org-apache-lucene-store-alreadyclosedexception/56537) - Says this can cause loss of messages and increase the load on system.

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)
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 21, 2018, 5:14am UTC](https://discuss.elastic.co/t/org-apache-lucene-store-alreadyclosedexception-can-this-be-ignored/116801/2 "2018-02-21T05:14:28Z")

</div>

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