Elasticsearch - 7.17 - 传输层异常

问题描述 投票:0回答:1

我尝试在 Centos 7 上启动 elasticsearch 7.17,但在运行时收到很多警告。有什么办法可以摆脱这个警告吗? Elasticsearch 在单个节点上运行

传输层捕获异常 [Netty4TcpChannel{localAddress=/127.0.0.1:9300, remoteAddress=/127.0.0.1:45464, profile=default}],关闭连接 java.lang.IllegalStateException:从不支持的版本接收到消息:[6.5.4]最小兼容版本是:[6.8.0] 在 org.elasticsearch.transport.InboundDecoder.ensureVersionCompatibility(InboundDecoder.java:214) ~[elasticsearch-7.17.8.jar:7.17.8] 在 org.elasticsearch.transport.InboundDecoder.readHeader(InboundDecoder.java:181) ~[elasticsearch-7.17.8.jar:7.17.8] 在 org.elasticsearch.transport.InboundDecoder.internalDecode(InboundDecoder.java:65) ~[elasticsearch-7.17.8.jar:7.17.8] 在 org.elasticsearch.transport.InboundDecoder.decode(InboundDecoder.java:43) ~[elasticsearch-7.17.8.jar:7.17.8] 在 org.elasticsearch.transport.InboundPipeline.doHandleBytes(InboundPipeline.java:103) ~[elasticsearch-7.17.8.jar:7.17.8] 在 org.elasticsearch.transport.InboundPipeline.handleBytes(InboundPipeline.java:84) ~[elasticsearch-7.17.8.jar:7.17.8]

我尝试启动elasticsearch,但收到很多关于弃用的警告,是否可以在没有警告的情况下启动它。

elasticsearch centos7
1个回答
0
投票

收到来自不支持版本的消息:[6.5.4] 最小兼容版本是:[6.8.0]

问题是您的客户端运行的是 6.5.4 库,而您的服务器是 7.17.8,它最多兼容 6.8,但不兼容以下版本。所以你应该将你的客户端库升级到至少6.8,最好是7.17.8。

© www.soinside.com 2019 - 2024. All rights reserved.