due to compression bugs - see issue #7210 for details

新增加的ES数据节点,日志中一直报如下错误:
unexpected error during recovery , failing shard
org.elasticsearch.ElasticsearchIllegalStateException: Can't recovery from node [inet]{zone=zone1} with due to compression bugs - see issue #7210 for details
at org.elasticsearch.indices.recovery.RecoveryTarget.doRecovery(RecoveryTarget.java:187)
at org.elasticsearch.indices.recovery.RecoveryTarget.access$700(RecoveryTarget.java:70)
at org.elasticsearch.indices.recovery.RecoveryTarget$RecoveryRunner.doRun(RecoveryTarget.java:567)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:36)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)不知道为什么,希望知道的同学解答一下!
已邀请:

采菊篱下 - 无分享不快乐 助力技术开源分享 运维一枚

赞同来自: Geek小A

这是个bug,官网说的是。具体引发这个问题的原因可能是说你升级了版本,然后多版本共用。如果你fix掉的话可以在elasticsearch.yml中设置:indices.recovery.compress: false忽略就好。
或者你新加入的节点设置为数据节点,而不设为master角色,应该也不会出问题
参考:https://github.com/elastic/elasticsearch/pull/7210

要回复问题请先登录注册