# Can't open file to read checksums

**URL:** <https://discuss.elastic.co/t/cant-open-file-to-read-checksums/19443>\
**Category:** Elasticsearch\
**Created:** [August 25, 2014, 5:52pm UTC](https://discuss.elastic.co/t/cant-open-file-to-read-checksums/19443 "2014-08-25T17:52:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casper\_Thrane](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casper_thrane/32/49777_2.png) [@Casper\_Thrane](https://discuss.elastic.co/u/Casper_Thrane)\
**Post date:** [August 25, 2014, 5:52pm UTC](https://discuss.elastic.co/t/cant-open-file-to-read-checksums/19443/1 "2014-08-25T17:52:46Z")

</div>

Hi!

We get the following errors, on two of our nodes. And after that our  
cluster doesn't work. I have no idea what it means.

[2014-08-25 17:46:39,323][WARN][indices.store]  
[p-elasticlog03] Can't open file to read checksums  
java.io.FileNotFoundException: No such file [\_6cq\_es090\_0.doc]  
at  
org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:173)  
at  
org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:144)  
at  
org.elasticsearch.index.store.DistributorDirectory.openInput(DistributorDirectory.java:130)  
at  
org.elasticsearch.index.store.Store$MetadataSnapshot.checksumFromLuceneFile(Store.java:532)  
at  
org.elasticsearch.index.store.Store$MetadataSnapshot.buildMetadata(Store.java:459)  
at  
org.elasticsearch.index.store.Store$MetadataSnapshot.(Store.java:433)  
at  
org.elasticsearch.index.store.Store.readMetadataSnapshot(Store.java:271)  
at  
org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.listStoreMetaData(TransportNodesListShardStoreMetaData.java:186)  
at  
org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.nodeOperation(TransportNodesListShardStoreMetaData.java:140)  
at  
org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.nodeOperation(TransportNodesListShardStoreMetaData.java:61)  
at  
org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:277)  
at  
org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:268)  
at  
org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:275)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source)

Br  
Casper

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [August 26, 2014, 8:40pm UTC](https://discuss.elastic.co/t/cant-open-file-to-read-checksums/19443/2 "2014-08-26T20:40:10Z")

</div>

A few questions:

What version of Elasticsearch are you using?  
Are you using the Java client and is it the same version of the cluster?  
Did you upgrade recently and was the index built with an older version of  
Elasticsearch?

Elasticsearch recently added checksum verification (1.3?), so perhaps you  
have some sort of version mismatch.

Cheers,

Ivan

On Mon, Aug 25, 2014 at 10:52 AM, Casper Thrane [casper.s.thrane@gmail.com](mailto:casper.s.thrane@gmail.com)  
wrote:

> Hi!
> 
> We get the following errors, on two of our nodes. And after that our  
> cluster doesn't work. I have no idea what it means.
> 
> [2014-08-25 17:46:39,323][WARN][indices.store]  
> [p-elasticlog03] Can't open file to read checksums  
> java.io.FileNotFoundException: No such file [\_6cq\_es090\_0.doc]  
> at  
> org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:173)  
> at  
> org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:144)  
> at  
> org.elasticsearch.index.store.DistributorDirectory.openInput(DistributorDirectory.java:130)  
> at  
> org.elasticsearch.index.store.Store$MetadataSnapshot.checksumFromLuceneFile(Store.java:532)  
> at  
> org.elasticsearch.index.store.Store$MetadataSnapshot.buildMetadata(Store.java:459)  
> at  
> org.elasticsearch.index.store.Store$MetadataSnapshot.(Store.java:433)  
> at  
> org.elasticsearch.index.store.Store.readMetadataSnapshot(Store.java:271)  
> at  
> org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.listStoreMetaData(TransportNodesListShardStoreMetaData.java:186)  
> at  
> org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.nodeOperation(TransportNodesListShardStoreMetaData.java:140)  
> at  
> org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.nodeOperation(TransportNodesListShardStoreMetaData.java:61)  
> at  
> org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:277)  
> at  
> org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:268)  
> at  
> org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:275)  
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
> at java.lang.Thread.run(Unknown Source)
> 
> Br  
> Casper
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBYGbr-k%2BB41UUwUY7DVk27KUiuf1xY5kekkXoNRc3grg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBYGbr-k%2BB41UUwUY7DVk27KUiuf1xY5kekkXoNRc3grg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![stoked](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@stoked](https://discuss.elastic.co/u/stoked)\
**Post date:** [August 31, 2014, 7:57am UTC](https://discuss.elastic.co/t/cant-open-file-to-read-checksums/19443/3 "2014-08-31T07:57:37Z")

</div>

Getting a similar error after upgrading to ES 1.3.2 from 1.1.1, however my  
cluster is still ingesting logs without issues:

2014-08-30 06:46:20,031][WARN][index.store] [Jocasta]  
[logstash-2014.08.25][2] Can't open file to read checksums  
java.io.FileNotFoundException: No such file [\_13sb\_es090\_0.tim]  
at  
org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:173)  
at  
org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:144)  
at  
org.elasticsearch.index.store.DistributorDirectory.fileLength(DistributorDirectory.java:113)  
at  
org.elasticsearch.index.store.Store$MetadataSnapshot.buildMetadata(Store.java:461)  
at  
org.elasticsearch.index.store.Store$MetadataSnapshot.(Store.java:433)  
at org.elasticsearch.index.store.Store.getMetadata(Store.java:144)  
at  
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyInitializingShard(IndicesClusterStateService.java:728)  
at  
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewOrUpdatedShards(IndicesClusterStateService.java:580)  
at  
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:184)  
at  
org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:444)  
at  
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown  
Source)  
at java.lang.Thread.run(Unknown Source)

On Tuesday, August 26, 2014 1:40:24 PM UTC-7, Ivan Brusic wrote:

> A few questions:
> 
> What version of Elasticsearch are you using?  
> Are you using the Java client and is it the same version of the cluster?  
> Did you upgrade recently and was the index built with an older version of  
> Elasticsearch?
> 
> Elasticsearch recently added checksum verification (1.3?), so perhaps you  
> have some sort of version mismatch.
> 
> Cheers,
> 
> Ivan
> 
> On Mon, Aug 25, 2014 at 10:52 AM, Casper Thrane \<[casper....@gmail.com](mailto:casper....@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hi!
> > 
> > We get the following errors, on two of our nodes. And after that our  
> > cluster doesn't work. I have no idea what it means.
> > 
> > [2014-08-25 17:46:39,323][WARN][indices.store]  
> > [p-elasticlog03] Can't open file to read checksums  
> > java.io.FileNotFoundException: No such file [\_6cq\_es090\_0.doc]  
> > at  
> > org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:173)  
> > at  
> > org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:144)  
> > at  
> > org.elasticsearch.index.store.DistributorDirectory.openInput(DistributorDirectory.java:130)  
> > at  
> > org.elasticsearch.index.store.Store$MetadataSnapshot.checksumFromLuceneFile(Store.java:532)  
> > at  
> > org.elasticsearch.index.store.Store$MetadataSnapshot.buildMetadata(Store.java:459)  
> > at  
> > org.elasticsearch.index.store.Store$MetadataSnapshot.(Store.java:433)  
> > at  
> > org.elasticsearch.index.store.Store.readMetadataSnapshot(Store.java:271)  
> > at  
> > org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.listStoreMetaData(TransportNodesListShardStoreMetaData.java:186)  
> > at  
> > org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.nodeOperation(TransportNodesListShardStoreMetaData.java:140)  
> > at  
> > org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.nodeOperation(TransportNodesListShardStoreMetaData.java:61)  
> > at  
> > org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:277)  
> > at  
> > org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:268)  
> > at  
> > org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:275)  
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
> > at java.lang.Thread.run(Unknown Source)
> > 
> > Br  
> > Casper
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2ba2d4c5-a529-4261-9330-d50c7ef1acb1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2ba2d4c5-a529-4261-9330-d50c7ef1acb1%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jinyuan\_Zhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinyuan_zhou/32/90185_2.png) [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Post date:** [September 26, 2014, 1:32am UTC](https://discuss.elastic.co/t/cant-open-file-to-read-checksums/19443/4 "2014-09-26T01:32:51Z")

</div>

Could it be a bug?  
I saw the exactly same warning from log file while rolling restart all  
nodes. I am running 1.3.2 on all nodes.  
I saw about 4 times when restart total 12 nodes.  
The cluster is OK. all indices eventually in green state.  
One more detail, the warning happens on the node different from the node I  
am restarting.

On Tuesday, August 26, 2014 1:40:24 PM UTC-7, Ivan Brusic wrote:

> A few questions:
> 
> What version of Elasticsearch are you using?  
> Are you using the Java client and is it the same version of the cluster?  
> Did you upgrade recently and was the index built with an older version of  
> Elasticsearch?
> 
> Elasticsearch recently added checksum verification (1.3?), so perhaps you  
> have some sort of version mismatch.
> 
> Cheers,
> 
> Ivan
> 
> On Mon, Aug 25, 2014 at 10:52 AM, Casper Thrane \<[casper....@gmail.com](mailto:casper....@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hi!
> > 
> > We get the following errors, on two of our nodes. And after that our  
> > cluster doesn't work. I have no idea what it means.
> > 
> > [2014-08-25 17:46:39,323][WARN][indices.store]  
> > [p-elasticlog03] Can't open file to read checksums  
> > java.io.FileNotFoundException: No such file [\_6cq\_es090\_0.doc]  
> > at  
> > org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:173)  
> > at  
> > org.elasticsearch.index.store.DistributorDirectory.getDirectory(DistributorDirectory.java:144)  
> > at  
> > org.elasticsearch.index.store.DistributorDirectory.openInput(DistributorDirectory.java:130)  
> > at  
> > org.elasticsearch.index.store.Store$MetadataSnapshot.checksumFromLuceneFile(Store.java:532)  
> > at  
> > org.elasticsearch.index.store.Store$MetadataSnapshot.buildMetadata(Store.java:459)  
> > at  
> > org.elasticsearch.index.store.Store$MetadataSnapshot.(Store.java:433)  
> > at  
> > org.elasticsearch.index.store.Store.readMetadataSnapshot(Store.java:271)  
> > at  
> > org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.listStoreMetaData(TransportNodesListShardStoreMetaData.java:186)  
> > at  
> > org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.nodeOperation(TransportNodesListShardStoreMetaData.java:140)  
> > at  
> > org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData.nodeOperation(TransportNodesListShardStoreMetaData.java:61)  
> > at  
> > org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:277)  
> > at  
> > org.elasticsearch.action.support.nodes.TransportNodesOperationAction$NodeTransportHandler.messageReceived(TransportNodesOperationAction.java:268)  
> > at  
> > org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:275)  
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
> > at java.lang.Thread.run(Unknown Source)
> > 
> > Br  
> > Casper
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/5f417878-3e49-478d-90e7-ca5c42734567%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/38bcc040-bb59-45a4-babc-c5c4dadcb66e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/38bcc040-bb59-45a4-babc-c5c4dadcb66e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:59am UTC](https://discuss.elastic.co/t/cant-open-file-to-read-checksums/19443/5 "2017-07-06T00:59:48Z")

</div>


