I have an elasticsearch cluster of version 1.5.2
There is one master node and one data node in the cluster.
When I add a new data node into the cluster(with the same cluster name) with the name node.name : "Node2", the new node can't join in the cluster with no logs indicating what happens.
My main conifg file is as below:
master node config:
cluster.name: cluster1
node.name: "Master"
node.master: true
node.data: false
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping.timeout: 3s
discovery.zen.ping.retries: 6
discovery.zen.ping.interval: 30s
data node config of node1:
cluster.name: cluster1
node.name: "Node1"
node.master: false
node.data: true
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping.timeout: 3s
discovery.zen.ping.retries: 6
discovery.zen.ping.interval: 30s
data node config of node2:
cluster.name: cluster1
node.name: "Node2"
node.master: false
node.data: true
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping.timeout: 3s
discovery.zen.ping.retries: 6
discovery.zen.ping.interval: 30s
When I restart the master node, the new node successfully join in the cluster.
Does anyone know how to join new nodes into the cluster without restarting the master??
node.name: "Node1"
– Andrei Stefan