I am getting the following exception when I index documents after some time
even though the server is up and running .
2/05/18 12:07:21 INFO client.transport: [Neophyte] failed to get node info
for [#transport#-1][inet[/192.168.5.169:9300]], disconnecting...
org.elasticsearch.transport.ReceiveTimeoutTransportException:
[][inet[/192.168.5.169:9300]][cluster/nodes/info] request_id [81658] timed
out after [5387ms]
org.elasticsearch.client.transport.NoNodeAvailableException: No node
available
at
org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:347)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
12/05/18 12:07:22 WARN elasticsearch.transport: [Neophyte] Received
response for a request that has timed out, sent [8457ms] ago, timed out
[3070ms] ago, action [cluster/nodes/info], node
[[#transport#-1][inet[/192.168.5.169:9300]]], id [81658]
12/05/18 12:07:21 WARN transport.netty: [Neophyte] Exception caught on
netty layer [[id: 0x0088df60, /192.168.5.212:51196 => /192.168.5.169:9300]]
java.lang.OutOfMemoryError: Java heap space
at
org.elasticsearch.common.compress.lzf.BufferRecycler.allocDecodeBuffer(BufferRecycler.java:150)
at
org.elasticsearch.common.io.stream.LZFStreamInput.(LZFStreamInput.java:91)
at
org.elasticsearch.common.io.stream.CachedStreamInput.instance(CachedStreamInput.java:48)
at
org.elasticsearch.common.io.stream.CachedStreamInput.getCharArray(CachedStreamInput.java:79)
at
org.elasticsearch.common.io.stream.StreamInput.readUTF(StreamInput.java:160)
at
org.elasticsearch.common.io.stream.HandlesStreamInput.readUTF(HandlesStreamInput.java:49)
at
org.elasticsearch.action.index.IndexResponse.readFrom(IndexResponse.java:142)
at
org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:254)
at
org.elasticsearch.transport.netty.MessageChannelHandler.process(MessageChannelHandler.java:233)
at
org.elasticsearch.transport.netty.MessageChannelHandler.callDecode(MessageChannelHandler.java:141)
at
org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:95)
at
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
at
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:94)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:364)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:238)
at
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:38)
at
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)