# Failed to execute operation for shard - NoSuchFileException

**URL:** <https://discuss.elastic.co/t/failed-to-execute-operation-for-shard-nosuchfileexception/72926>\
**Category:** Elasticsearch\
**Created:** [January 26, 2017, 4:26pm UTC](https://discuss.elastic.co/t/failed-to-execute-operation-for-shard-nosuchfileexception/72926 "2017-01-26T16:26:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![premier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/premier/32/14938_2.png) [@premier](https://discuss.elastic.co/u/premier)\
**Post date:** [January 26, 2017, 4:26pm UTC](https://discuss.elastic.co/t/failed-to-execute-operation-for-shard-nosuchfileexception/72926/1 "2017-01-26T16:26:00Z")

</div>

We keep getting the NoSuchFileException on seemly random snowstorm\_metrics-\* indexes. Closing the offending index and re-opening it corrects the problem for a little while. Then the exception appears again usually on a different index.

The offending index is green and open but the docs.count, docs.deleted, store.size and pri.store.size are all blank. Similar to closed indexes.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/1/1eba720f72a05119a85071a948a3023252d4e817.png)

The offending shards are started but several columns are blank. This only seems to happen on the offending shards all the others are populated with values.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/8245188dff73e6199b6bb77c33be23be93b89fcc.jpg)

Following is a log file snippet:

[2017-01-25 20:15:25,056][DEBUG][action.admin.indices.stats] [c3pupclog2] [indices:monitor/stats] failed to execute operation for shard [[snowstorm\_metrics-2017.01.10][0], node[m7W7M4eLRT2GtDjA0QgsuQ], [P], v[3], s[STARTED], a[id=AoVkTo8wRXyILXdbonS\_LA]]  
ElasticsearchException[failed to refresh store stats]; nested: NoSuchFileException[/opt/app/elasticsearch/data/snowstorm\_logs\_prod/nodes/0/indices/snowstorm\_metrics-2017.01.10/0/index];  
at org.elasticsearch.index.store.Store$StoreStatsCache.refresh(Store.java:1532)

This stack is used for ELK - elastic version is 2.4.1

---

<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 23, 2017, 4:26pm UTC](https://discuss.elastic.co/t/failed-to-execute-operation-for-shard-nosuchfileexception/72926/2 "2017-02-23T16:26:06Z")

</div>

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