Hi Everybody,
I setup a cluster of elaticsearch that it includes three nodes. Elaticsearch version is 2.4.1.
The elaticsearch configuration of one node looks like as:
cluster.name: es_cluster
node.name: es_node1
path.repo: ["/mnt/backups/backup"]
network.host: 192.168.1.104
discovery.zen.ping.unicast.hosts: ["192.168.1.104", "192.168.1.105", "192.168.1.106"]
Now, I want to use the native transport to connect to the ES cluster but I get "failed to get node info" error message after I run below code:
(def conn (es/connect [["192.168.1.104" 9300] ["192.168.1.105" 9300] ["192.168.1.106" 9300]] {"cluster.name" "es_cluster"}))
The detail error message is:
INFO [2016-11-28 01:11:28,063] elasticsearch[Aldebron][generic][T#2] - org.elasticsearch.client.transport - [Aldebron] failed to get node info for [#transport#-1][localhost.localdomain][inet[/192.168.1.104:9300]], disconnecting...
org.elasticsearch.transport.NodeDisconnectedException: [][inet[/192.168.1.104:9300]][cluster:monitor/nodes/info] disconnected
INFO [2016-11-28 01:11:28,066] elasticsearch[Aldebron][generic][T#2] - org.elasticsearch.client.transport - [Aldebron] failed to get node info for [#transport#-2][localhost.localdomain][inet[/192.168.1.105:9300]], disconnecting...
org.elasticsearch.transport.NodeDisconnectedException: [][inet[/192.168.1.105:9300]][cluster:monitor/nodes/info] disconnected
INFO [2016-11-28 01:11:28,067] elasticsearch[Aldebron][generic][T#2] - org.elasticsearch.client.transport - [Aldebron] failed to get node info for [#transport#-3][localhost.localdomain][inet[/192.168.1.106:9300]], disconnecting...
Who can help me or give some hint for the issue? Thanks you very much.
Also, I don't find firewall issue for the three ES nodes from client and the 9300 port of three nodes are openned.
Thanks
Ray