# Any zen discovery difference between master eligible and non eligible nodes?

**URL:** https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849
**Category:** Elasticsearch
**Created:** [September 17, 2014, 6:08pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849 "2014-09-17T18:08:45Z")
**Posts on this page:** 15
**Page:** 1

<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 17, 2014, 6:08pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/1 "2014-09-17T18:08:45Z")

</div>

I have two nodes with this configuration -Des.node.data=false  
-Des.node.master=false when I start. But these nodes have experiencing  
finding master node. Here is message.

[2014-09-17 16:51:10,457][WARN][discovery] [mynodename]  
waited for 30s and no initial state was set by the discovery

However, If I remove -Des.node.master=false.

The discovery have no issue.

Thanks,

Jack

--  
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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 17, 2014, 6:54pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/2 "2014-09-17T18:54:29Z")

</div>

A cluster needs a master node.

You need at least one node which could be elected as master.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> I have two nodes with this configuration -Des.node.data=false -Des.node.master=false when I start. But these nodes have experiencing finding master node. Here is message.  
> [2014-09-17 16:51:10,457][WARN][discovery] [mynodename] waited for 30s and no initial state was set by the discovery
> 
> However, If I remove -Des.node.master=false.
> 
> The discovery have no issue.
> 
> Thanks,
> 
> Jack
> 
> --  
> 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com).  
> 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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr).  
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 17, 2014, 7:09pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/3 "2014-09-17T19:09:02Z")

</div>

Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are  
master eligible. 2 are client only (es.node.data=false,  
es.node.master=false). I have configured the minimal number of nodes to  
form a cluster is 6. all the boxes hosting 12 es instances are on the same  
rack. The problem is that these two client-only nodes cannot join the  
cluster. It cannot discovers the master. But if I make them master eligible  
it discover the master node immediately.  
I don't understand what make the differences.  
Thanks,  
Jack

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> A cluster needs a master node.
> 
> You need at least one node which could be elected as master.
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> I have two nodes with this configuration -Des.node.data=false  
> -Des.node.master=false when I start. But these nodes have experiencing  
> finding master node. Here is message.
> 
> [2014-09-17 16:51:10,457][WARN][discovery] [mynodename]  
> waited for 30s and no initial state was set by the discovery
> 
> However, If I remove -Des.node.master=false.
> 
> The discovery have no issue.
> 
> Thanks,
> 
> Jack
> 
> --  
> 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr)  
> [https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 17, 2014, 7:24pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/4 "2014-09-17T19:24:19Z")

</div>

Did you set the same cluster name?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are master eligible. 2 are client only (es.node.data=false, es.node.master=false). I have configured the minimal number of nodes to form a cluster is 6. all the boxes hosting 12 es instances are on the same rack. The problem is that these two client-only nodes cannot join the cluster. It cannot discovers the master. But if I make them master eligible it discover the master node immediately.  
I don't understand what make the differences.  
Thanks,  
Jack

Jinyuan (Jack) Zhou

> On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> A cluster needs a master node.
> 
> You need at least one node which could be elected as master.
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > 
> > I have two nodes with this configuration -Des.node.data=false -Des.node.master=false when I start. But these nodes have experiencing finding master node. Here is message.  
> > [2014-09-17 16:51:10,457][WARN][discovery] [mynodename] waited for 30s and no initial state was set by the discovery
> > 
> > However, If I remove -Des.node.master=false.
> > 
> > The discovery have no issue.
> > 
> > Thanks,
> > 
> > Jack
> > 
> > --  
> > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com).  
> > 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr).
> 
> 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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com).  
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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr).  
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 17, 2014, 7:49pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/5 "2014-09-17T19:49:48Z")

</div>

yes. cluster name is set to be the same on all 12 nodes

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Did you set the same cluster name?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are  
> master eligible. 2 are client only (es.node.data=false,  
> es.node.master=false). I have configured the minimal number of nodes to  
> form a cluster is 6. all the boxes hosting 12 es instances are on the same  
> rack. The problem is that these two client-only nodes cannot join the  
> cluster. It cannot discovers the master. But if I make them master eligible  
> it discover the master node immediately.  
> I don't understand what make the differences.  
> Thanks,  
> Jack
> 
> Jinyuan (Jack) Zhou
> 
> On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > A cluster needs a master node.
> > 
> > You need at least one node which could be elected as master.
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > 
> > I have two nodes with this configuration -Des.node.data=false  
> > -Des.node.master=false when I start. But these nodes have experiencing  
> > finding master node. Here is message.
> > 
> > [2014-09-17 16:51:10,457][WARN][discovery] [mynodename]  
> > waited for 30s and no initial state was set by the discovery
> > 
> > However, If I remove -Des.node.master=false.
> > 
> > The discovery have no issue.
> > 
> > Thanks,
> > 
> > Jack
> > 
> > --  
> > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr)  
> > [https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr)  
> [https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 17, 2014, 8:08pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/6 "2014-09-17T20:08:56Z")

</div>

Are you using multicast or unicast or a plugin for discovery?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

yes. cluster name is set to be the same on all 12 nodes

Jinyuan (Jack) Zhou

> On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> Did you set the same cluster name?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are master eligible. 2 are client only (es.node.data=false, es.node.master=false). I have configured the minimal number of nodes to form a cluster is 6. all the boxes hosting 12 es instances are on the same rack. The problem is that these two client-only nodes cannot join the cluster. It cannot discovers the master. But if I make them master eligible it discover the master node immediately.  
> I don't understand what make the differences.  
> Thanks,  
> Jack
> 
> Jinyuan (Jack) Zhou
> 
> > On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > A cluster needs a master node.
> > 
> > You need at least one node which could be elected as master.
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > > 
> > > I have two nodes with this configuration -Des.node.data=false -Des.node.master=false when I start. But these nodes have experiencing finding master node. Here is message.  
> > > [2014-09-17 16:51:10,457][WARN][discovery] [mynodename] waited for 30s and no initial state was set by the discovery
> > > 
> > > However, If I remove -Des.node.master=false.
> > > 
> > > The discovery have no issue.
> > > 
> > > Thanks,
> > > 
> > > Jack
> > > 
> > > --  
> > > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com).  
> > > 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr).
> > 
> > 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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr).
> 
> 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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com).  
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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr).  
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 17, 2014, 8:13pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/7 "2014-09-17T20:13:58Z")

</div>

I am using unicast with out of box zen discovery.

discovery.zen.ping.multicast.enabled: false

-Des.discovery.zen.ping.unicast.hosts=

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 1:08 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Are you using multicast or unicast or a plugin for discovery?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> yes. cluster name is set to be the same on all 12 nodes
> 
> Jinyuan (Jack) Zhou
> 
> On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > Did you set the same cluster name?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > 
> > Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are  
> > master eligible. 2 are client only (es.node.data=false,  
> > es.node.master=false). I have configured the minimal number of nodes to  
> > form a cluster is 6. all the boxes hosting 12 es instances are on the same  
> > rack. The problem is that these two client-only nodes cannot join the  
> > cluster. It cannot discovers the master. But if I make them master eligible  
> > it discover the master node immediately.  
> > I don't understand what make the differences.  
> > Thanks,  
> > Jack
> > 
> > Jinyuan (Jack) Zhou
> > 
> > On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > A cluster needs a master node.
> > > 
> > > You need at least one node which could be elected as master.
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > écrit :
> > > 
> > > I have two nodes with this configuration -Des.node.data=false  
> > > -Des.node.master=false when I start. But these nodes have experiencing  
> > > finding master node. Here is message.
> > > 
> > > [2014-09-17 16:51:10,457][WARN][discovery] [mynodename]  
> > > waited for 30s and no initial state was set by the discovery
> > > 
> > > However, If I remove -Des.node.master=false.
> > > 
> > > The discovery have no issue.
> > > 
> > > Thanks,
> > > 
> > > Jack
> > > 
> > > --  
> > > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr)  
> > > [https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%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 a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr)  
> > [https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr)  
> [https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?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/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 17, 2014, 8:27pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/8 "2014-09-17T20:27:57Z")

</div>

When you start the client node, did you set list of master nodes as unicast hosts?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 22:13, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

I am using unicast with out of box zen discovery.

discovery.zen.ping.multicast.enabled: false

-Des.discovery.zen.ping.unicast.hosts=

Jinyuan (Jack) Zhou

> On Wed, Sep 17, 2014 at 1:08 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> Are you using multicast or unicast or a plugin for discovery?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> yes. cluster name is set to be the same on all 12 nodes
> 
> Jinyuan (Jack) Zhou
> 
> > On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > Did you set the same cluster name?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > 
> > Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are master eligible. 2 are client only (es.node.data=false, es.node.master=false). I have configured the minimal number of nodes to form a cluster is 6. all the boxes hosting 12 es instances are on the same rack. The problem is that these two client-only nodes cannot join the cluster. It cannot discovers the master. But if I make them master eligible it discover the master node immediately.  
> > I don't understand what make the differences.  
> > Thanks,  
> > Jack
> > 
> > Jinyuan (Jack) Zhou
> > 
> > > On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > A cluster needs a master node.
> > > 
> > > You need at least one node which could be elected as master.
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > > > 
> > > > I have two nodes with this configuration -Des.node.data=false -Des.node.master=false when I start. But these nodes have experiencing finding master node. Here is message.  
> > > > [2014-09-17 16:51:10,457][WARN][discovery] [mynodename] waited for 30s and no initial state was set by the discovery
> > > > 
> > > > However, If I remove -Des.node.master=false.
> > > > 
> > > > The discovery have no issue.
> > > > 
> > > > Thanks,
> > > > 
> > > > Jack
> > > > 
> > > > --  
> > > > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com).  
> > > > 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr).
> > > 
> > > 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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr).
> > 
> > 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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr).
> 
> 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/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com).  
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/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr).  
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 17, 2014, 8:31pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/9 "2014-09-17T20:31:25Z")

</div>

Yes.  
The settings are almost same for all nodes

discovery.zen.ping.multicast.enabled: false # this is in elasticsearch.yml

-Des.discovery.zen.ping.unicast.hosts= this is  
java -D parameter

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 1:27 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> When you start the client node, did you set list of master nodes as  
> unicast hosts?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 sept. 2014 à 22:13, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> I am using unicast with out of box zen discovery.
> 
> discovery.zen.ping.multicast.enabled: false
> 
> -Des.discovery.zen.ping.unicast.hosts=
> 
> Jinyuan (Jack) Zhou
> 
> On Wed, Sep 17, 2014 at 1:08 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > Are you using multicast or unicast or a plugin for discovery?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > 
> > yes. cluster name is set to be the same on all 12 nodes
> > 
> > Jinyuan (Jack) Zhou
> > 
> > On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > Did you set the same cluster name?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > écrit :
> > > 
> > > Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are  
> > > master eligible. 2 are client only (es.node.data=false,  
> > > es.node.master=false). I have configured the minimal number of nodes to  
> > > form a cluster is 6. all the boxes hosting 12 es instances are on the same  
> > > rack. The problem is that these two client-only nodes cannot join the  
> > > cluster. It cannot discovers the master. But if I make them master eligible  
> > > it discover the master node immediately.  
> > > I don't understand what make the differences.  
> > > Thanks,  
> > > Jack
> > > 
> > > Jinyuan (Jack) Zhou
> > > 
> > > On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > 
> > > > A cluster needs a master node.
> > > > 
> > > > You need at least one node which could be elected as master.
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > > écrit :
> > > > 
> > > > I have two nodes with this configuration -Des.node.data=false  
> > > > -Des.node.master=false when I start. But these nodes have experiencing  
> > > > finding master node. Here is message.
> > > > 
> > > > [2014-09-17 16:51:10,457][WARN][discovery]  
> > > > [mynodename] waited for 30s and no initial state was set by the discovery
> > > > 
> > > > However, If I remove -Des.node.master=false.
> > > > 
> > > > The discovery have no issue.
> > > > 
> > > > Thanks,
> > > > 
> > > > Jack
> > > > 
> > > > --  
> > > > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%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 a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr)  
> > > [https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%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 a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr)  
> > [https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?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/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr)  
> [https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr?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/CANBTPCGuAG\_GitNZXFF\_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 18, 2014, 12:52am UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/10 "2014-09-18T00:52:08Z")

</div>

And when you remove -Des.node.master=false the client node is able to join the cluster?  
I mean "join" the cluster so you can see it joining in the master node logs.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 22:31, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

Yes.  
The settings are almost same for all nodes

discovery.zen.ping.multicast.enabled: false # this is in elasticsearch.yml

-Des.discovery.zen.ping.unicast.hosts= this is java -D parameter

Jinyuan (Jack) Zhou

> On Wed, Sep 17, 2014 at 1:27 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> When you start the client node, did you set list of master nodes as unicast hosts?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 sept. 2014 à 22:13, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> I am using unicast with out of box zen discovery.
> 
> discovery.zen.ping.multicast.enabled: false
> 
> -Des.discovery.zen.ping.unicast.hosts=
> 
> Jinyuan (Jack) Zhou
> 
> > On Wed, Sep 17, 2014 at 1:08 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > Are you using multicast or unicast or a plugin for discovery?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > 
> > yes. cluster name is set to be the same on all 12 nodes
> > 
> > Jinyuan (Jack) Zhou
> > 
> > > On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > Did you set the same cluster name?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > > 
> > > Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are master eligible. 2 are client only (es.node.data=false, es.node.master=false). I have configured the minimal number of nodes to form a cluster is 6. all the boxes hosting 12 es instances are on the same rack. The problem is that these two client-only nodes cannot join the cluster. It cannot discovers the master. But if I make them master eligible it discover the master node immediately.  
> > > I don't understand what make the differences.  
> > > Thanks,  
> > > Jack
> > > 
> > > Jinyuan (Jack) Zhou
> > > 
> > > > On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > > A cluster needs a master node.
> > > > 
> > > > You need at least one node which could be elected as master.
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > > > > 
> > > > > I have two nodes with this configuration -Des.node.data=false -Des.node.master=false when I start. But these nodes have experiencing finding master node. Here is message.  
> > > > > [2014-09-17 16:51:10,457][WARN][discovery] [mynodename] waited for 30s and no initial state was set by the discovery
> > > > > 
> > > > > However, If I remove -Des.node.master=false.
> > > > > 
> > > > > The discovery have no issue.
> > > > > 
> > > > > Thanks,
> > > > > 
> > > > > Jack
> > > > > 
> > > > > --  
> > > > > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com).  
> > > > > 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr).
> > > > 
> > > > 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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr).
> > > 
> > > 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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr).
> > 
> > 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/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr).
> 
> 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/CANBTPCGuAG\_GitNZXFF\_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com).  
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/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr).  
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 18, 2014, 12:54am UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/11 "2014-09-18T00:54:23Z")

</div>

yes.

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 5:52 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> And when you remove -Des.node.master=false the client node is able to  
> join the cluster?  
> I mean "join" the cluster so you can see it joining in the master node  
> logs.
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 sept. 2014 à 22:31, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> Yes.  
> The settings are almost same for all nodes
> 
> discovery.zen.ping.multicast.enabled: false # this is in elasticsearch.yml
> 
> -Des.discovery.zen.ping.unicast.hosts= this is  
> java -D parameter
> 
> Jinyuan (Jack) Zhou
> 
> On Wed, Sep 17, 2014 at 1:27 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > When you start the client node, did you set list of master nodes as  
> > unicast hosts?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 sept. 2014 à 22:13, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > 
> > I am using unicast with out of box zen discovery.
> > 
> > discovery.zen.ping.multicast.enabled: false
> > 
> > -Des.discovery.zen.ping.unicast.hosts=
> > 
> > Jinyuan (Jack) Zhou
> > 
> > On Wed, Sep 17, 2014 at 1:08 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > Are you using multicast or unicast or a plugin for discovery?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > écrit :
> > > 
> > > yes. cluster name is set to be the same on all 12 nodes
> > > 
> > > Jinyuan (Jack) Zhou
> > > 
> > > On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > 
> > > > Did you set the same cluster name?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > > écrit :
> > > > 
> > > > Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are  
> > > > master eligible. 2 are client only (es.node.data=false,  
> > > > es.node.master=false). I have configured the minimal number of nodes to  
> > > > form a cluster is 6. all the boxes hosting 12 es instances are on the same  
> > > > rack. The problem is that these two client-only nodes cannot join the  
> > > > cluster. It cannot discovers the master. But if I make them master eligible  
> > > > it discover the master node immediately.  
> > > > I don't understand what make the differences.  
> > > > Thanks,  
> > > > Jack
> > > > 
> > > > Jinyuan (Jack) Zhou
> > > > 
> > > > On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > > 
> > > > > A cluster needs a master node.
> > > > > 
> > > > > You need at least one node which could be elected as master.
> > > > > 
> > > > > --  
> > > > > David 😉  
> > > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > > 
> > > > > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > > > écrit :
> > > > > 
> > > > > I have two nodes with this configuration -Des.node.data=false  
> > > > > -Des.node.master=false when I start. But these nodes have experiencing  
> > > > > finding master node. Here is message.
> > > > > 
> > > > > [2014-09-17 16:51:10,457][WARN][discovery]  
> > > > > [mynodename] waited for 30s and no initial state was set by the discovery
> > > > > 
> > > > > However, If I remove -Des.node.master=false.
> > > > > 
> > > > > The discovery have no issue.
> > > > > 
> > > > > Thanks,
> > > > > 
> > > > > Jack
> > > > > 
> > > > > --  
> > > > > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%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 a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%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 a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr)  
> > > [https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?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/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%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 a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr)  
> > [https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr?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/CANBTPCGuAG\_GitNZXFF\_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG\_GitNZXFF\_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr)  
> [https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr?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/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 18, 2014, 6:39am UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/12 "2014-09-18T06:39:21Z")

</div>

Ok. I tried to reproduce it on elasticsearch 1.3.2.

First node started:

bin/elasticsearch -Ddiscovery.zen.ping.multicast.enabled=false -Des.discovery.zen.ping.unicast.hosts=localhost

[2014-09-18 08:36:05,417][INFO][cluster.service] [Crusader] new\_master [Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]], reason: zen-disco-join (elected\_as\_master)

Second node (client):

bin/elasticsearch -Ddiscovery.zen.ping.multicast.enabled=false -Des.discovery.zen.ping.unicast.hosts=localhost -Des.node.data=false -Des.node.master=false

[2014-09-18 08:36:36,444][INFO][cluster.service] [Sekhmet] detected\_master [Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]], added {[Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]],}, reason: zen-disco-receive(from master [[Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]]])

So to me everything is working fine.

I don't understand what you are exactly doing. May be you should try to change logging.yml to DEBUG or TRACE and see what's going on in your client node.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 18 septembre 2014 à 02:54:31, Jinyuan Zhou ([zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com)) a écrit:

yes.

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 5:52 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
And when you remove -Des.node.master=false the client node is able to join the cluster?  
I mean "join" the cluster so you can see it joining in the master node logs.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 22:31, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

Yes.  
The settings are almost same for all nodes

discovery.zen.ping.multicast.enabled: false # this is in elasticsearch.yml

-Des.discovery.zen.ping.unicast.hosts= this is java -D parameter

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 1:27 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
When you start the client node, did you set list of master nodes as unicast hosts?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 22:13, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

I am using unicast with out of box zen discovery.

discovery.zen.ping.multicast.enabled: false

-Des.discovery.zen.ping.unicast.hosts=

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 1:08 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Are you using multicast or unicast or a plugin for discovery?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

yes. cluster name is set to be the same on all 12 nodes

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Did you set the same cluster name?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are master eligible. 2 are client only (es.node.data=false, es.node.master=false). I have configured the minimal number of nodes to form a cluster is 6. all the boxes hosting 12 es instances are on the same rack. The problem is that these two client-only nodes cannot join the cluster. It cannot discovers the master. But if I make them master eligible it discover the master node immediately.  
I don't understand what make the differences.  
Thanks,  
Jack

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
A cluster needs a master node.

You need at least one node which could be elected as master.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

I have two nodes with this configuration -Des.node.data=false -Des.node.master=false when I start. But these nodes have experiencing finding master node. Here is message.  
[2014-09-17 16:51:10,457][WARN][discovery] [mynodename] waited for 30s and no initial state was set by the discovery

However, If I remove -Des.node.master=false.

The discovery have no issue.

Thanks,

Jack

## -- 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr).

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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr).

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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr).

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/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr).

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/CANBTPCGuAG\_GitNZXFF\_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr).

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/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com).  
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/etPan.541a7e19.613efdc5.3c6%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.541a7e19.613efdc5.3c6%40MacBook-Air-de-David.local).  
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 18, 2014, 3:32pm UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/13 "2014-09-18T15:32:12Z")

</div>

David,  
Thanks for taking time to look at my issue. My issue is probably too slow  
to find a master node to join. I was wondering if non master eligible nodes  
takes longer to find a master node. May be some time out happened. I was  
looking for some parameters to allow more time to find a master node. I  
played with discovery.zen.fd.ping\_timeout. I set it 90 seconds (default is  
30s). It didn't make a difference. The message still says "waited for 30s  
and no initial state was set by the discovery".  
Regards,  
Jack

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 11:39 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Ok. I tried to reproduce it on elasticsearch 1.3.2.
> 
> First node started:
> 
> bin/elasticsearch -Ddiscovery.zen.ping.multicast.enabled=false  
> -Des.discovery.zen.ping.unicast.hosts=localhost
> 
> [2014-09-18 08:36:05,417][INFO][cluster.service] [Crusader]  
> new\_master  
> [Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]],  
> reason: zen-disco-join (elected\_as\_master)
> 
> Second node (client):
> 
> bin/elasticsearch -Ddiscovery.zen.ping.multicast.enabled=false  
> -Des.discovery.zen.ping.unicast.hosts=localhost -Des.node.data=false  
> -Des.node.master=false
> 
> [2014-09-18 08:36:36,444][INFO][cluster.service] [Sekhmet]  
> detected\_master  
> [Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]],  
> added  
> {[Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]],},  
> reason: zen-disco-receive(from master  
> [[Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300  
> ]]])
> 
> So to me everything is working fine.
> 
> I don't understand what you are exactly doing. May be you should try to  
> change logging.yml to DEBUG or TRACE and see what's going on in your client  
> node.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr  
> [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 18 septembre 2014 à 02:54:31, Jinyuan Zhou ([zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com)) a  
> écrit:
> 
> yes.
> 
> Jinyuan (Jack) Zhou
> 
> On Wed, Sep 17, 2014 at 5:52 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > And when you remove -Des.node.master=false the client node is able to  
> > join the cluster?  
> > I mean "join" the cluster so you can see it joining in the master node  
> > logs.
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 sept. 2014 à 22:31, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> > 
> > Yes.  
> > The settings are almost same for all nodes
> > 
> > discovery.zen.ping.multicast.enabled: false # this is in  
> > elasticsearch.yml
> > 
> > -Des.discovery.zen.ping.unicast.hosts= this  
> > is java -D parameter
> > 
> > Jinyuan (Jack) Zhou
> > 
> > On Wed, Sep 17, 2014 at 1:27 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > When you start the client node, did you set list of master nodes as  
> > > unicast hosts?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 17 sept. 2014 à 22:13, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > écrit :
> > > 
> > > I am using unicast with out of box zen discovery.
> > > 
> > > discovery.zen.ping.multicast.enabled: false
> > > 
> > > -Des.discovery.zen.ping.unicast.hosts=
> > > 
> > > Jinyuan (Jack) Zhou
> > > 
> > > On Wed, Sep 17, 2014 at 1:08 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > 
> > > > Are you using multicast or unicast or a plugin for discovery?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > > écrit :
> > > > 
> > > > yes. cluster name is set to be the same on all 12 nodes
> > > > 
> > > > Jinyuan (Jack) Zhou
> > > > 
> > > > On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > > 
> > > > > Did you set the same cluster name?
> > > > > 
> > > > > --  
> > > > > David 😉  
> > > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > > 
> > > > > Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > > > écrit :
> > > > > 
> > > > > Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10  
> > > > > are master eligible. 2 are client only (es.node.data=false,  
> > > > > es.node.master=false). I have configured the minimal number of nodes to  
> > > > > form a cluster is 6. all the boxes hosting 12 es instances are on the same  
> > > > > rack. The problem is that these two client-only nodes cannot join the  
> > > > > cluster. It cannot discovers the master. But if I make them master eligible  
> > > > > it discover the master node immediately.  
> > > > > I don't understand what make the differences.  
> > > > > Thanks,  
> > > > > Jack
> > > > > 
> > > > > Jinyuan (Jack) Zhou
> > > > > 
> > > > > On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr)  
> > > > > wrote:
> > > > > 
> > > > > > A cluster needs a master node.
> > > > > > 
> > > > > > You need at least one node which could be elected as master.
> > > > > > 
> > > > > > --  
> > > > > > David 😉  
> > > > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > > > 
> > > > > > Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a  
> > > > > > écrit :
> > > > > > 
> > > > > > I have two nodes with this configuration -Des.node.data=false  
> > > > > > -Des.node.master=false when I start. But these nodes have experiencing  
> > > > > > finding master node. Here is message.
> > > > > > 
> > > > > > [2014-09-17 16:51:10,457][WARN][discovery]  
> > > > > > [mynodename] waited for 30s and no initial state was set by the discovery
> > > > > > 
> > > > > > However, If I remove -Des.node.master=false.
> > > > > > 
> > > > > > The discovery have no issue.
> > > > > > 
> > > > > > Thanks,
> > > > > > 
> > > > > > Jack
> > > > > > 
> > > > > > --  
> > > > > > 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com) [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%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 a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit  
> > > > > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com) [https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%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 a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?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/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com) [https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%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 a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr)  
> > > [https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr?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/CANBTPCGuAG\_GitNZXFF\_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com) [https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG\_GitNZXFF\_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%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 a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr)  
> > [https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr?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/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/etPan.541a7e19.613efdc5.3c6%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.541a7e19.613efdc5.3c6%40MacBook-Air-de-David.local)  
> [https://groups.google.com/d/msgid/elasticsearch/etPan.541a7e19.613efdc5.3c6%40MacBook-Air-de-David.local?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/etPan.541a7e19.613efdc5.3c6%40MacBook-Air-de-David.local?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/CANBTPCHU4bYdbx%2BSYCatpM7jScnbketzhp%3D5PBjwD6R6AKRUDQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCHU4bYdbx%2BSYCatpM7jScnbketzhp%3D5PBjwD6R6AKRUDQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 19, 2014, 6:20am UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/14 "2014-09-19T06:20:28Z")

</div>

It was immediate on my laptop.

--  
David Pilato | Technical Advocate | [elasticsearch.com](http://elasticsearch.com)  
[david.pilato@elasticsearch.com](mailto:david.pilato@elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 18 septembre 2014 à 17:32:18, Jinyuan Zhou ([zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com)) a écrit:

David,  
Thanks for taking time to look at my issue. My issue is probably too slow to find a master node to join. I was wondering if non master eligible nodes takes longer to find a master node. May be some time out happened. I was looking for some parameters to allow more time to find a master node. I played with discovery.zen.fd.ping\_timeout. I set it 90 seconds (default is 30s). It didn't make a difference. The message still says "waited for 30s and no initial state was set by the discovery".  
Regards,  
Jack

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 11:39 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Ok. I tried to reproduce it on elasticsearch 1.3.2.

First node started:

bin/elasticsearch -Ddiscovery.zen.ping.multicast.enabled=false -Des.discovery.zen.ping.unicast.hosts=localhost

[2014-09-18 08:36:05,417][INFO][cluster.service] [Crusader] new\_master [Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]], reason: zen-disco-join (elected\_as\_master)

Second node (client):

bin/elasticsearch -Ddiscovery.zen.ping.multicast.enabled=false -Des.discovery.zen.ping.unicast.hosts=localhost -Des.node.data=false -Des.node.master=false

[2014-09-18 08:36:36,444][INFO][cluster.service] [Sekhmet] detected\_master [Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]], added {[Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]],}, reason: zen-disco-receive(from master [[Crusader][i3SU0cwSQeizbN\_MUqAXSw][MacBook-Air-de-David.local][inet[/192.168.0.15:9300]]])

So to me everything is working fine.

I don't understand what you are exactly doing. May be you should try to change logging.yml to DEBUG or TRACE and see what's going on in your client node.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 18 septembre 2014 à 02:54:31, Jinyuan Zhou ([zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com)) a écrit:

yes.

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 5:52 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
And when you remove -Des.node.master=false the client node is able to join the cluster?  
I mean "join" the cluster so you can see it joining in the master node logs.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 22:31, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

Yes.  
The settings are almost same for all nodes

discovery.zen.ping.multicast.enabled: false # this is in elasticsearch.yml

-Des.discovery.zen.ping.unicast.hosts= this is java -D parameter

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 1:27 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
When you start the client node, did you set list of master nodes as unicast hosts?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 22:13, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

I am using unicast with out of box zen discovery.

discovery.zen.ping.multicast.enabled: false

-Des.discovery.zen.ping.unicast.hosts=

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 1:08 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Are you using multicast or unicast or a plugin for discovery?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 21:49, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

yes. cluster name is set to be the same on all 12 nodes

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 12:24 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Did you set the same cluster name?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 21:09, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are master eligible. 2 are client only (es.node.data=false, es.node.master=false). I have configured the minimal number of nodes to form a cluster is 6. all the boxes hosting 12 es instances are on the same rack. The problem is that these two client-only nodes cannot join the cluster. It cannot discovers the master. But if I make them master eligible it discover the master node immediately.  
I don't understand what make the differences.  
Thanks,  
Jack

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 11:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
A cluster needs a master node.

You need at least one node which could be elected as master.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 20:08, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

I have two nodes with this configuration -Des.node.data=false -Des.node.master=false when I start. But these nodes have experiencing finding master node. Here is message.  
[2014-09-17 16:51:10,457][WARN][discovery] [mynodename] waited for 30s and no initial state was set by the discovery

However, If I remove -Des.node.master=false.

The discovery have no issue.

Thanks,

Jack

## -- 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/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr).

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/CANBTPCEoyCOzXMJCCg\_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr).

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/CANBTPCEmpkF\_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr).

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/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr).

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/CANBTPCGuAG\_GitNZXFF\_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/C0EE7E0F-E825-4100-8AFD-05013321AE61%40pilato.fr).

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/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCG74%2BdMbY7KTYyJfCh9-oD%2B5i08nbEHgmBptFLTgM9raQ%40mail.gmail.com). 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/xMobdE6tsCA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/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/etPan.541a7e19.613efdc5.3c6%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.541a7e19.613efdc5.3c6%40MacBook-Air-de-David.local).

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/CANBTPCHU4bYdbx%2BSYCatpM7jScnbketzhp%3D5PBjwD6R6AKRUDQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCHU4bYdbx%2BSYCatpM7jScnbketzhp%3D5PBjwD6R6AKRUDQ%40mail.gmail.com).  
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/etPan.541bcb2c.46e87ccd.18d1%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.541bcb2c.46e87ccd.18d1%40MacBook-Air-de-David.local).  
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:01am UTC](https://discuss.elastic.co/t/any-zen-discovery-difference-between-master-eligible-and-non-eligible-nodes/19849/15 "2017-07-06T01:01:07Z")

</div>


