# Diagnosing why one node is getting no shards

**URL:** <https://discuss.elastic.co/t/diagnosing-why-one-node-is-getting-no-shards/20733>\
**Category:** Elasticsearch\
**Created:** [November 13, 2014, 6:37pm UTC](https://discuss.elastic.co/t/diagnosing-why-one-node-is-getting-no-shards/20733 "2014-11-13T18:37:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Ambler\_2](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@Christopher\_Ambler\_2](https://discuss.elastic.co/u/Christopher_Ambler_2)\
**Post date:** [November 13, 2014, 6:37pm UTC](https://discuss.elastic.co/t/diagnosing-why-one-node-is-getting-no-shards/20733/1 "2014-11-13T18:37:07Z")

</div>

I have an Elasticsearch cluster of five nodes. I have the configuration on  
each set the same with 5 shards per index and 4 replicas. The idea is that  
every node will have every shard.

Four of my nodes have five shards. One node has ALL of them primary. One  
node has NOTHING. And then, of course, I have 5 unallocated shards.

I reload a new index every day and this is exactly how it allocates shards  
every time.

I need to find out why the one node isn't getting any shards. That's bad.

It would be easy for me to ask why this is happening - and if anyone knows,  
that would be fantastic. But as I can't seem to find ANYTHING online or in  
the documentation to explain this, I must ask, perhaps, how I can diagnose  
it? Any clues? Anything I can look at to give a clue here?

--  
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/76d46f15-447c-4797-860e-fc8ae3ec09dd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/76d46f15-447c-4797-860e-fc8ae3ec09dd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Christopher\_Ambler\_2](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@Christopher\_Ambler\_2](https://discuss.elastic.co/u/Christopher_Ambler_2)\
**Post date:** [November 17, 2014, 8:13pm UTC](https://discuss.elastic.co/t/diagnosing-why-one-node-is-getting-no-shards/20733/2 "2014-11-17T20:13:19Z")

</div>

I found my own answer - but for anyone who might have this issue, ensure  
that all nodes are running the same version of ES. Apparently when they're  
not, older versions will not get shards.

Who knew? 🙂

--  
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/9789c9d0-4b41-481b-826a-b11ee45b649a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9789c9d0-4b41-481b-826a-b11ee45b649a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 17, 2014, 8:37pm UTC](https://discuss.elastic.co/t/diagnosing-why-one-node-is-getting-no-shards/20733/3 "2014-11-17T20:37:24Z")

</div>

That is touched on in this doc page

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

"The upgrades sometimes include upgrades to the Lucene libraries used by  
Elasticsearch to access the index files, and after an index file has been  
updated to work with a new version of Lucene, it may not be accessible to  
the versions of Lucene present in earlier Elasticsearch releases."

On 18 November 2014 07:13, Christopher Ambler [const.dogberry@gmail.com](mailto:const.dogberry@gmail.com)  
wrote:

> I found my own answer - but for anyone who might have this issue, ensure  
> that all nodes are running the same version of ES. Apparently when they're  
> not, older versions will not get shards.
> 
> Who knew? 🙂
> 
> --  
> 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/9789c9d0-4b41-481b-826a-b11ee45b649a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9789c9d0-4b41-481b-826a-b11ee45b649a%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/9789c9d0-4b41-481b-826a-b11ee45b649a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/9789c9d0-4b41-481b-826a-b11ee45b649a%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/CAF3ZnZ%3DDPzvhfOdLmORVvjBujFXwOmpcCCLyotoJHy\_Bov%3DctA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZ%3DDPzvhfOdLmORVvjBujFXwOmpcCCLyotoJHy_Bov%3DctA%40mail.gmail.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:49am UTC](https://discuss.elastic.co/t/diagnosing-why-one-node-is-getting-no-shards/20733/4 "2017-07-06T00:49:24Z")

</div>


