I have setup a cluster of twelve nodes (node 2 is master, others are data nodes) but two nodes are missing. I've googled a lot before coming here but I cannot find the fix I need. The content of elasticsearch.yml is identical to the file on the other nodes so I don't know why they are not joining. This is what is inside the file:
Did they ever join?
If no maybe a firewall or switch routing issue.
If yes have you tried netstat to see if the nodes are listening on the transport port?
curl to localhost is HTMLand can get an answer from a single node but the nodes need the transport open to communicate with each other.
Good question, I can't recall if they have ever succesfully joined...
I tried netstat and I can't see the missing nodes listening whilst I can see the others.
Have to visit the networkguys if they can do anything about it.
If the nodes aren't listening it is a local config problem. The network guys can open firewall ports and config switches but if the elasticsearch is not listening on transport ports it still won't work.
Ensure there are no white spaces or misconfigurations in the elasticsearch.yml.
Maybe copy one Elasticsearch.yml from one node to another and diff the files to ensure that they are the same around the transport and unicast lines.
Look closely as I have had similar hard to spot issues. I think I had a white space at the beginning of the transport line one time and it broke the transport port config.
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.