I am trying to set up the elasticsearch clusters and nodes, where I have updated the below changes on elasticsearch.yml file: (I think I have a problem with the Unicast Discovery below):
#Could someone help me with this part. How it should be updated
Unicast Discovery:
discovery.zen.ping.unicast.hosts: ["node1:9300","node2:9300", "node3:[9300-9400]"]
The above Unicast Discovery is where I am facing the issue.
discovery.zen.ping.unicast.hosts needs to be set to a small number of hosts that can be used as seeds to first connect to when the node joins the cluster. You can set this so a small number of any of your client, data or maters nodes but typically users will add their master nodes in this array. The format of the entries int he array should be $hostname:$transport.tcp.port usually the $transport.tcp.port is 9300, more information on this can be found here: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/important-settings.html#unicast.hosts
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.