We're seeing a problem with elastic Transport Clients hang. Can anyone
see what we're doing wrong?
We're running Elastic v0.18.7 in with a cluster of 3 elastic nodes on
jdk1.7.0_02 on windows 2003 64-bit servers.
We are sometimes getting an operating system problem which hangs one
of the elastic nodes. When this happens, the cluster behaves perfectly
well and rebalances as expected.
Unfortunately we still have a problem in the connected clients. The
calls into the elastic client appear to hang. We've created a gist
here https://gist.github.com/1705716 with 2 thread dumps attached. In
it you can see the problem getting worse - look at
"buckeroo.indexing.ElasticSearchClient.healthiness" calls. There are
41 in the first dump, then 56 in the second thread dump. We have set a
10 second timeout on these calls but this is not being triggered.
The snippet where we create the client is:
TransportClient transportClient = new TransportClient(
settingsBuilder()
.put("cluster.name", clusterName.value)
.put("client.transport.sniff", true)
.build());
for (HostAndPort hostAndPort : hostAndPorts) {
transportClient.addTransportAddress(new
On Monday, January 30, 2012 at 8:38 PM, Mike Hill wrote:
Hi,
We're seeing a problem with elastic Transport Clients hang. Can anyone
see what we're doing wrong?
We're running Elastic v0.18.7 in with a cluster of 3 elastic nodes on
jdk1.7.0_02 on windows 2003 64-bit servers.
We are sometimes getting an operating system problem which hangs one
of the elastic nodes. When this happens, the cluster behaves perfectly
well and rebalances as expected.
Unfortunately we still have a problem in the connected clients. The
calls into the elastic client appear to hang. We've created a gist
here elastic client hang · GitHub with 2 thread dumps attached. In
it you can see the problem getting worse - look at
"buckeroo.indexing.ElasticSearchClient.healthiness" calls. There are
41 in the first dump, then 56 in the second thread dump. We have set a
10 second timeout on these calls but this is not being triggered.
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.