Hello,
I am trying to index 2 lakhs documents (On an average size of a single document is :40 kB) on a remote cluster inside our LAN network
Currently I am using Transport Client to connect to the remote cluster through the following code:
Client client = new TransportClient(settings)
.addTransportAddress(new InetSocketTransportAddress("10.1.1.5", 9300))
ip address is of the remote PC where my cluster resides.
Cluster configurations::
master : master node only
data_node1: master node + data node
data_node2: data node only
data_node3: data node only
While I check my log files I see the following errors repeatedly and it has been 2 days since the indexing is going on::
org.elasticsearch.transport.ReceiveTimeoutTransportException: [data_node3][inet[/10.1.1.5:9303]][cluster:monitor/nodes/stats[n]] request_id [715820] timed out after [15000ms]
at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:529)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
org.elasticsearch.transport.ReceiveTimeoutTransportException: [data_node1][inet[/10.1.1.5:9301]][cluster:monitor/nodes/stats[n]] request_id [704409] timed out after [15000ms]
at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:529)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
org.elasticsearch.transport.ReceiveTimeoutTransportException: [data_node2][inet[/10.1.1.5:9301]][cluster:monitor/nodes/stats[n]] request_id [704409] timed out after [15000ms]
at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:529)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
org.elasticsearch.client.transport.NoNodeAvailableException: No node available
at org.e.c.t.TransportClientNodesService$RetryListener.onFailure(...)
at org.e.a.TransportActionNodeProxy$1.handleException(...)
at org.e.t.TransportService$Adapter$3.run(...)
... 3 more
I even tried the below mentioned link which tells about keepTCPalive parameter on OS level:
But it did not help even after trying the steps mentioned in it.
I am facing this error intermittently. Transport
Client works fine sometimes - so it rules out firewall or port related
issues.
I am using elastic search 1.7.1.
- Firewall is not configured
- TCP and UDP on port 9300 are open
- sniff is disabled (I 'm using default transport configurations)
Can anyone please help me to resolve this issue ?
Regards,
Siddharth.