I have a cluster of about 10 data nodes, 5 master nodes and a few client nodes.
I've got a single client node that no matter what I do, I can get the cluster state via curl, but not getting any responses back from /_cat/indices on that node. I re-installed elasticsearch and cleared a bunch of directory. I tried the same install on a different server and worked just fine.
How do we debug these kind of issues? The only thing I can see in the logs for each masters is the following :
[2016-10-20 17:11:41,189][WARN ][transport ] [node0001-master] Transport response handler not found of id [956886]
[2016-10-20 17:11:41,281][WARN ][transport ] [node0001-master] Transport response handler not found of id [956919]
[2016-10-20 17:11:41,282][WARN ][transport ] [node0001-master] Transport response handler not found of id [956930]
[2016-10-20 17:11:41,283][WARN ][transport ] [node0001-master] Transport response handler not found of id [956933]
[2016-10-20 17:11:43,808][WARN ][transport ] [node0001-master] Transport response handler not found of id [957725]
[
Timeout out query :
[me@client ~]$ curl http://localhost:9200/_cat/indices -v
- About to connect() to localhost port 9200 (#0)
- Trying 127.0.0.1... connected
- Connected to localhost (127.0.0.1) port 9200 (#0)
GET /_cat/indices HTTP/1.1
User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Host: localhost:9200
Accept: /^C
Cluster Health :
[me@client ~]$ curl http://localhost:9200/_cluster/health?pretty=true
{
"cluster_name" : "elasticsearch",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 18,
"number_of_data_nodes" : 10,
"active_primary_shards" : 156,
"active_shards" : 312,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}
Thanks,