即使我的索引中没有太多数据,也超过了高磁盘水印 [英] High disk watermark exceeded even when there is not much data in my index

查看:20
本文介绍了即使我的索引中没有太多数据,也超过了高磁盘水印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在本地机器上使用 elasticsearch.数据目录只有 37MB 大小,但是当我查看日志时,我可以看到:

I'm using elasticsearch on my local machine. The data directory is only 37MB in size but when I check logs, I can see:

[2015-05-17 21:31:12,905][WARN][cluster.routing.allocation.decider] [Chrome] 高磁盘水印 [10%] 超出 [h9P4UqnCR5SrXxwZKpQ2LQ][Chrome] 免费:5.7gb[6.1%], 分片将从这个节点重新定位

[2015-05-17 21:31:12,905][WARN ][cluster.routing.allocation.decider] [Chrome] high disk watermark [10%] exceeded on [h9P4UqnCR5SrXxwZKpQ2LQ][Chrome] free: 5.7gb[6.1%], shards will be relocated away from this node

对可能出错的地方感到非常困惑.有什么帮助吗?

Quite confused about what might be going wrong. Any help?

推荐答案

来自 索引分片分配:

... watermark.high 控制高水印.默认为 90%,意味着如果节点磁盘使用率超过 90%,ES 将尝试将分片重定位到另一个节点.

... watermark.high controls the high watermark. It defaults to 90%, meaning ES will attempt to relocate shards to another node if the node disk usage rises above 90%.

实际索引的大小无关紧要;重要的是设备上剩余的可用空间.

The size of your actual index doesn't matter; it's the free space left on the device which matters.

如果默认设置不适合您,您必须更改它们.

If the defaults are not appropriate for you, you've to change them.

这篇关于即使我的索引中没有太多数据,也超过了高磁盘水印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆