# All Shards are created on the a single node

**URL:** <https://discuss.elastic.co/t/all-shards-are-created-on-the-a-single-node/16659>\
**Category:** Elasticsearch\
**Created:** [March 27, 2014, 8:37pm UTC](https://discuss.elastic.co/t/all-shards-are-created-on-the-a-single-node/16659 "2014-03-27T20:37:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![search](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@search](https://discuss.elastic.co/u/search)\
**Post date:** [March 27, 2014, 8:37pm UTC](https://discuss.elastic.co/t/all-shards-are-created-on-the-a-single-node/16659/1 "2014-03-27T20:37:33Z")

</div>

When I create an index in my cluster, Elasticsearch is creating all shards  
on the node in which I execute the index creation request. Can some help me  
figure out what setting is causing this to happen? My cluster was fine a  
week ago. I am doing some work and I want to know which setting might have  
caused that issue.

Thanks.

--  
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/795c7a63-ddc3-4c64-8478-7874c389c1c4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/795c7a63-ddc3-4c64-8478-7874c389c1c4%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:** [March 28, 2014, 3:19am UTC](https://discuss.elastic.co/t/all-shards-are-created-on-the-a-single-node/16659/2 "2014-03-28T03:19:07Z")

</div>

Did you set a routing value?

--  
Ivan

On Thu, Mar 27, 2014 at 1:37 PM, Search User [feedworks@gmail.com](mailto:feedworks@gmail.com) wrote:

> When I create an index in my cluster, Elasticsearch is creating all shards  
> on the node in which I execute the index creation request. Can some help me  
> figure out what setting is causing this to happen? My cluster was fine a  
> week ago. I am doing some work and I want to know which setting might have  
> caused that issue.
> 
> Thanks.
> 
> --  
> 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/795c7a63-ddc3-4c64-8478-7874c389c1c4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/795c7a63-ddc3-4c64-8478-7874c389c1c4%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/795c7a63-ddc3-4c64-8478-7874c389c1c4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/795c7a63-ddc3-4c64-8478-7874c389c1c4%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%3DcQCM8\_btq2i3U7mHNivUCnp6SNH2yLJz%2BVrRjpiyHUCxPA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCM8_btq2i3U7mHNivUCnp6SNH2yLJz%2BVrRjpiyHUCxPA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![search](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@search](https://discuss.elastic.co/u/search)\
**Post date:** [March 28, 2014, 9:44am UTC](https://discuss.elastic.co/t/all-shards-are-created-on-the-a-single-node/16659/3 "2014-03-28T09:44:45Z")

</div>

No. I didn't set a routing value. Thanks  
On Mar 27, 2014 11:19 PM, "Ivan Brusic" [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> Did you set a routing value?
> 
> --  
> Ivan
> 
> On Thu, Mar 27, 2014 at 1:37 PM, Search User [feedworks@gmail.com](mailto:feedworks@gmail.com) wrote:
> 
> > When I create an index in my cluster, Elasticsearch is creating all  
> > shards on the node in which I execute the index creation request. Can some  
> > help me figure out what setting is causing this to happen? My cluster was  
> > fine a week ago. I am doing some work and I want to know which setting  
> > might have caused that issue.
> > 
> > Thanks.
> > 
> > --  
> > 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/795c7a63-ddc3-4c64-8478-7874c389c1c4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/795c7a63-ddc3-4c64-8478-7874c389c1c4%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/795c7a63-ddc3-4c64-8478-7874c389c1c4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/795c7a63-ddc3-4c64-8478-7874c389c1c4%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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/1UJBAxL5Vj4/unsubscribe](https://groups.google.com/d/topic/elasticsearch/1UJBAxL5Vj4/unsubscribe).  
> To unsubscribe from this group and all its topics, 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%3DcQCM8\_btq2i3U7mHNivUCnp6SNH2yLJz%2BVrRjpiyHUCxPA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCM8_btq2i3U7mHNivUCnp6SNH2yLJz%2BVrRjpiyHUCxPA%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCM8\_btq2i3U7mHNivUCnp6SNH2yLJz%2BVrRjpiyHUCxPA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCM8_btq2i3U7mHNivUCnp6SNH2yLJz%2BVrRjpiyHUCxPA%40mail.gmail.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/CAAqRq4rszXkM6vmBsaENPX3z3psjNe1ojvV3P8aKRWWgexbBNQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAAqRq4rszXkM6vmBsaENPX3z3psjNe1ojvV3P8aKRWWgexbBNQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)\
**Post date:** [March 28, 2014, 1:39pm UTC](https://discuss.elastic.co/t/all-shards-are-created-on-the-a-single-node/16659/4 "2014-03-28T13:39:05Z")

</div>

Can you show the output of these:

curl localhost:9200/\_settings?pretty

curl localhost:9200/\_cluster/settings?pretty

--  
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/093d1613-201b-49a8-81fb-c0e2aa4eb15b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/093d1613-201b-49a8-81fb-c0e2aa4eb15b%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, 1:39am UTC](https://discuss.elastic.co/t/all-shards-are-created-on-the-a-single-node/16659/5 "2017-07-06T01:39:54Z")

</div>


