Hi
I created 3 EC2 clusters in AWS, and I'm trying to set 2 of them as nodes. I followed this guideline:
However, nothing helps and I'm still getting this exception from the nodes.
all ES are up and return response to curl, and also telnet to each other. what else can it be?
Also the easiest way to have a cluster up and running is by clicking on cloud.elastic.co and start a cluster in few minutes.
Better to share the full logs so we might tell. Also the elasticsearch.yml files.
Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.
Or use markdown style like:
```
CODE
```
This is the icon to use if you are not using markdown format:
There's a live preview panel for exactly this reasons.
Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
I had also same issue, when I was trying to access elastic search from outside AWS windows server, I was not able to access it, after that I have added
network.host : aws_private_ip
and after that we need to restart elastic service, but it was throwing an error in restarting, and finally when had added below line, it works for me,
For the sake of future readers, this advice is not recommended as it may result in data loss. See the docs on cluster.initial_master_nodes for details, in particular:
IMPORTANT: After the cluster forms successfully for the first time, remove the cluster.initial_master_nodes setting from each nodes' configuration. Do not use this setting when restarting a cluster or adding a new node to an existing cluster.
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.