If I have 3 ES nodes, node1 will be the master node, do I have to set the
list of hosts in all of the node's elasticsearch.xml config files or just
the master config? Also, do I include the master node in the list?
discovery.zen.ping.unicast.hosts:["node1:9300 (the currrent node)",
"node2:9300", "node3:9300"]
I think it would better to specify the list in as many nodes as possible.
Although specifying it in just master node would work, if the master node
goes dead then your other nodes might not discover each other.
If I have 3 ES nodes, node1 will be the master node, do I have to set the
list of hosts in all of the node's elasticsearch.xml config files or just
the master config? Also, do I include the master node in the list?
discovery.zen.ping.unicast.hosts:["node1:9300 (the currrent node)",
"node2:9300", "node3:9300"]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.