Failed to get node info by native transport of clojure-elasticsearch

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 with TCP. Do I need to open upd for the 9300 port?
The below is some details for 9300 netstate info.

[root@es_node1 ~]# netstat -tcpln|grep 9300
tcp6 0 0 192.168.1.104:9300 :::* LISTEN 2048/java
tcp6 0 0 192.168.1.104:9300 :::* LISTEN 2048/java
tcp6 0 0 192.168.1.104:9300 :::* LISTEN 2048/java
^C
[root@es_node1 ~]#
[root@es_node1 ~]#
[root@es_node1 ~]# netstat -tupln|grep 9300
tcp6 0 0 192.168.1.104:9300 :::* LISTEN 2048/java
[root@es_node1 ~]#

Thanks
Ray

Who could please give some update for my questions? Thanks you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.