I'm running ElasticSearch backing up to HDFS with the following elasticsearch.yml:
I've noticed that over the last week the number of sockets in the CLOSE_WAIT status has grown steadily.
$ netstat -aonp | grep CLOSE_WAIT | wc -l
When I look at the sockets, I can see the process id is elasticsearch and the destination port is 50010, which I looked up and is a hadoop datanode port.
Has anyone seen this before/have any ideas about how to fix this?