1

当我在使用 java api 的批量插入运行时在 elasticsearch 中搜索时,我收到错误消息,提示无法获取节点信息、ReceiveTimeoutTransportException 并在 [5000ms]] 后超时。我能做些什么来解决这个问题?如果不引发异常,我无法同时插入和搜索。

错误日志:

org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler doSample
INFO: [Beyonder] failed to get node info for {#transport#-1}{127.0.0.1}{127.0.0.1:9302}, disconnecting...
ReceiveTimeoutTransportException[[][127.0.0.1:9302][cluster:monitor/nodes/liveness] request_id [26169] timed out after [5000ms]]
    at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:696)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
4

0 回答 0