hi,all:
When I deploy a brand new ealsticsearch cluster, it's always difficult to quickly form a whole.After some nodes form a cluster, other individual nodes wait for several hours and have not yet joined them.This has not happened in versions prior to 7.0
I tried to close all nodes and clean up the data directory before starting. I found that the nodes that could not join the cluster can join the cluster normally, but the normal nodes can not join the cluster.
There are usually several tips for not being able to join a cluster.
[m06] failed to join {m02}
2.Caused by: org.elasticsearch.transport.ConnectTransportException: [m06][xxxx:9300] general node connection failure
3.Caused by: org.elasticsearch.transport.TransportException: handshake failed because connection reset
4.Caused by: java.io.IOException: Connection timed out: xxxx/xxxx:9300
Caused by: java.io.IOException: Connection timed out
5.Caused by: java.io.IOException: Connection reset by peer: xxxx/xxxx:9300
Caused by: java.io.IOException: Connection reset by peer
6.[m06] last failed join attempt was 1.9s ago, failed to join {m02}
7.Caused by: org.elasticsearch.transport.ConnectTransportException: [m06][xxxx:9300] a channel closed while connecting
I make sure there are no special entries on the configuration, and the wrong 9300 port can also be telnet.
Please share your configuration. Be aware that there are a number of settings that have chnaged between 6.X and 7.X, so make sure you read the documentation.
Thanks for the reply, the above is my configuration information. I have indeed reviewed the configuration documentation repeatedly. But I really can't find the reason why I can't form a whole. Please also assist in troubleshooting, thank you very much!
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.