java.lang.RuntimeException: org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [{node-29021}{zfw45iLKTAuLoCHT4ZhbFA}{QUVbm2YETW6lNcIIPl6r4g}{10.1.58.52}{10.1.58.52:29021}{ml.machine_memory=16819011584, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, {node-29023}{aaNzma2WStiM4OrTRYJx6w}{9jtF5r5pQ963WVsQtMmezw}{10.1.58.52}{10.1.58.52:29023}{ml.machine_memory=16819011584, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, {node-29022}{u5xlidmaQti5029ALRvYJQ}{X0IcCDsMQP-tziQZdGlGGg}{10.1.58.52}{10.1.58.52:29022}{ml.machine_memory=16819011584, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}]
NoNodeAvailableException[None of the configured nodes were available: [{node-29021}{zfw45iLKTAuLoCHT4ZhbFA}{QUVbm2YETW6lNcIIPl6r4g}{10.1.58.52}{10.1.58.52:29021}{ml.machine_memory=16819011584, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, {node-29023}{aaNzma2WStiM4OrTRYJx6w}{9jtF5r5pQ963WVsQtMmezw}{10.1.58.52}{10.1.58.52:29023}{ml.machine_memory=16819011584, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, {node-29022}{u5xlidmaQti5029ALRvYJQ}{X0IcCDsMQP-tziQZdGlGGg}{10.1.58.52}{10.1.58.52:29022}{ml.machine_memory=16819011584, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}]]; nested: NodeNotConnectedException[[node-29021][10.1.58.52:29021] Node not connected];
解决方案:项目lib包下面有低版本的netty包,包不一致导致的,删掉对应的netty包,如我的ES使用的版本是6.2.2,lib包netty有个3.2的netty包,删除后就可以启动了。