PR - 18094 - Don't try to compute completion stats on a closed reader



As mentioned in the below PR -

Can this cause problem if store type is specified as default_fs for Elasticsearch running on Ubuntu 14.04 ?

(Christian Dahlqvist) #2

Which version of Elasticsearch are you using? What is the error you are seeing?


I am using an older version 2.3.1 . I am seeing the following messages in the log as discussed in .

But I am not able to ascertain if this can cause issue with default_fs store type on Ubuntu 14.04.

[2018-08-15 21:59:49,791][DEBUG][action.admin.cluster.node.stats] [Interloper] failed to execute on node [OnyxVuo0R0GaFQ6xp3s_zw]
RemoteTransportException[[Interloper][][cluster:monitor/nodes/stats[n]]]; nested: AlreadyClosedException[this IndexReader is closed];
Caused by: this IndexReader is closed
       at org.apache.lucene.index.IndexReader.ensureOpen(
       at org.apache.lucene.index.CompositeReader.getContext(
       at org.apache.lucene.index.CompositeReader.getContext(
       at org.apache.lucene.index.IndexReader.leaves(
       at org.elasticsearch.index.shard.IndexShard.completionStats(
       at org.elasticsearch.action.admin.indices.stats.CommonStats.<init>(
       at org.elasticsearch.indices.IndicesService.stats(
       at org.elasticsearch.node.service.NodeService.stats(
       at org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.nodeOperation(
       at org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.nodeOperation(
       at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(
       at org.elasticsearch.transport.TransportService$4.doRun(
       at java.util.concurrent.ThreadPoolExecutor.runWorker(
       at java.util.concurrent.ThreadPoolExecutor$

(Christian Dahlqvist) #4

I do not know the answer, but it looks like the issue was fixed in Elasticsearch 2.4, so I would recommend upgrading to at least the latest 2.4 release.

(system) #5

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