1.问题描述 ES client客户端能创建,但是在用客户端操作时报:NoNodeAvailableException[None of the configured nodes are available:[{#transport#-1}{XXXXX}{ip:port}]]. 该问题是客户端无法连接至es服务器,从以下角度排查. 2.解决方案 2.1. 查看配置的ip和端口号是否正确,端口号需要配置tcp端口 2.2 查看cluster name是否正确 2.3 使用的es client版本需要…
异常: availableProcessors is already set to [4], rejecting [4] 在启动类中加入 System.setProperty("es.set.netty.runtime.available.processors", "false"); 异常:org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes…