Hi,
In elasticsearch 2.4.5, what type of client does a CLIENT node use to communicate with the DATA and MASTER nodes? Does it use a Node client and try to connect to every other node in the cluster? Or does it use a Transport client ?
Thanks!
Hi,
In elasticsearch 2.4.5, what type of client does a CLIENT node use to communicate with the DATA and MASTER nodes? Does it use a Node client and try to connect to every other node in the cluster? Or does it use a Transport client ?
Thanks!
A Client Node is part of the cluster. It uses the Transport Layer to communicate with other nodes. He is aware of the whole topology so it connects directly to the right clients. It uses in that sense a Node Client.
Thanks @dadoonet. What happens In the case that a CLIENT node is able to connect to a Master node but not to some other node in the cluster?
That should never happen IMO.
But what is your exact concern ?
@dadoonet I faced a scenario where we had incorrectly setup the firewall rules and a CLIENT node was able to join the cluster as it had access to the MASTER node but was not able to connect to one of the DATA nodes. This causes periodic exceptions to be logged when debug mode is enabled:
SendRequestTransportException[[es-2a][172.22.70.25:9300][cluster:monitor/nodes/info[n]]]; nested: NodeNotConnectedException[[es-2a][172.22.70.25:9300] Node not conn
ected];
I am not able to figure out why this action is invoked: cluster:monitor/nodes/info[n]?
I see. Did you fix the firewall problem?
It's important that a Node in general (whatever its purpose) can always join the whole rest of the cluster.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.