springboot2.0整合es的异常总结
2021-07-16 07:05
标签:process eps 0.11 roc spring 需要 cep ble node springboot2.0整合es的异常总结 标签:process eps 0.11 roc spring 需要 cep ble node 原文地址:https://www.cnblogs.com/cmyxn/p/9534770.html异常: 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 are available: [{#transport#-1}{VA_eNPshSSmOHZYbNgepsA}{127.0.0.1}{127.0.0.1:9300}]
这个需要保证application.yml中的配置与es的配置文件保持一致即可,es的配置文件在es的安装路径下的config/elasticsearch.yml
上一篇:python re模块实现计算器
下一篇:python基础知识02
文章标题:springboot2.0整合es的异常总结
文章链接:http://soscw.com/index.php/essay/105923.html