Adding new node to an existing Cluster

Hello ,

I am new to ES , we already setup a node on a machine and starting
importing data into it, now I want to add another node to this cluster
by modifying this configuration on the existing node
discovery.zen.ping.unicast.hosts: ["xx.xx.xx.xx:9300"]

I am getting the following error
failed to send join request to master , reason
[org.elsticsearch.ElasticSearchTimeoutException: Timeout waiting for task.]

Regards
Dina

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Dina,
This value should contain a comma separated list of all the nodes in your
cluster and each node will need to be restarted in order for it to pick up
the new settings. Make sure all the nodes have identical configs. Also make
sure you don't have a firewall blocking the ElasticSearch ports.

discovery.zen.ping.unicast.hosts: ["node1", "node2", "node3", "node4"]

p.s. specifying the port is not necessary if you are using the default
ports.

  • Logan -

On Friday, May 24, 2013 12:31:27 AM UTC-7, dina abu khader wrote:

Hello ,

I am new to ES , we already setup a node on a machine and starting
importing data into it, now I want to add another node to this cluster
by modifying this configuration on the existing node
discovery.zen.ping.unicast.hosts: ["xx.xx.xx.xx:9300"]

I am getting the following error
failed to send join request to master , reason
[org.elsticsearch.ElasticSearchTimeoutException: Timeout waiting for task.]

Regards
Dina

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I add to this that you can simply add the old node address in the new node settings.
No need to restart running nodes.

My 2 cents

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

Le 24 mai 2013 à 19:27, Logan Hardy loganbhardy@gmail.com a écrit :

Dina,
This value should contain a comma separated list of all the nodes in your cluster and each node will need to be restarted in order for it to pick up the new settings. Make sure all the nodes have identical configs. Also make sure you don't have a firewall blocking the ElasticSearch ports.

discovery.zen.ping.unicast.hosts: ["node1", "node2", "node3", "node4"]

p.s. specifying the port is not necessary if you are using the default ports.

  • Logan -

On Friday, May 24, 2013 12:31:27 AM UTC-7, dina abu khader wrote:

Hello ,

I am new to ES , we already setup a node on a machine and starting importing data into it, now I want to add another node to this cluster
by modifying this configuration on the existing node
discovery.zen.ping.unicast.hosts: ["xx.xx.xx.xx:9300"]

I am getting the following error
failed to send join request to master , reason [org.elsticsearch.ElasticSearchTimeoutException: Timeout waiting for task.]

Regards
Dina

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I lied. You do not have to list ALL the nodes in the cluster. New nodes
will find the rest of the cluster through the nodes you list here.

On Friday, May 24, 2013 10:27:48 AM UTC-7, Logan Hardy wrote:

Dina,
This value should contain a comma separated list of all the nodes in
your cluster and each node will need to be restarted in order for it to
pick up the new settings. Make sure all the nodes have identical configs.
Also make sure you don't have a firewall blocking the ElasticSearch ports.

discovery.zen.ping.unicast.hosts: ["node1", "node2", "node3", "node4"]

p.s. specifying the port is not necessary if you are using the default
ports.

  • Logan -

On Friday, May 24, 2013 12:31:27 AM UTC-7, dina abu khader wrote:

Hello ,

I am new to ES , we already setup a node on a machine and starting
importing data into it, now I want to add another node to this cluster
by modifying this configuration on the existing node
discovery.zen.ping.unicast.hosts: ["xx.xx.xx.xx:9300"]

I am getting the following error
failed to send join request to master , reason
[org.elsticsearch.ElasticSearchTimeoutException: Timeout waiting for task.]

Regards
Dina

--
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.
For more options, visit https://groups.google.com/groups/opt_out.