elasticSearch的错误 NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-kTJsUqFSb69yMQ5v1fcuw}{192.168.56.101 ...
可能的原因: 项目引用的ES版本和ES服务的版本不一样 端口不正确,tcp访问端口是 cluster.name不正确,可以通过访问http: localhost: 查看ES服务下的cluster.name ES服务没启动 简单demo: import java.net.InetAddress import java.net.UnknownHostException import org.elast ...
2019-05-31 17:05 0 5800 推荐指数:
elasticSearch的错误 NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-kTJsUqFSb69yMQ5v1fcuw}{192.168.56.101 ...
问题背景:将es部署到内网中两台服务器,其Ip地址分别为:192.111.222.5,192.111.222.1(部署方式完全一样,是将192.111.222.1服务器上es整个部署包,拷贝到了192 ...
NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{T1T83HHTRaSZ6nkUAPt93w}{192.168.1.100}{192.168.1.100:9300 ...
我在springboot 集成 elasticsearch,启动springboot测试创建索引,建立索引的时候报 : 修改 D:\elasticsearch-6.2.2\confi ...
elasticSearch的错误 NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-kTJsUqFSb69yMQ5v1fcuw}{192.168.56.101 ...
连接elasticsearch已经成功,但是会报以下错误,字面意思是节点不可用这样 除了网上提到的常见问题,例如cluster.name,port不匹配(默认访问url端 ...
默认的 elasticsearch.yml 端口是9200,是给tcp提供的。如果想使用 自带的 TransportClient 需要配置为 tcp 的9300端口。配置方式为: 在/con ...
对于这个问题,大部分人出现在这个地方: 问题在于前面初始化settings时给cluster设置了个新的名字,如:Settings settings = ImmutableSettings.se ...