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 <[email protected]> a écrit :

I am using unicast with out of box zen discovery. 

discovery.zen.ping.multicast.enabled: false

 -Des.discovery.zen.ping.unicast.hosts=<myCommaSeparatedHostList>


Jinyuan (Jack) Zhou

> On Wed, Sep 17, 2014 at 1:08 PM, David Pilato <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
>> Did you set the same cluster name?
>> 
>> --
>> David ;-)
>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>> 
>> 
>> Le 17 sept. 2014 à 21:09, Jinyuan Zhou <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com.
>>>> For more options, visit 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.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr.
>>> 
>>> For more options, visit 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com.
>> For more options, visit 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.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr.
>> 
>> For more options, visit 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com.
> For more options, visit 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.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr.
> 
> For more options, visit 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com.
For more options, visit 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to