即使索引中没有太多数据也超出了磁盘高水位标记 [英] High disk watermark exceeded even when there is not much data in my index
问题描述
我在本地计算机上使用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]磁盘上的高水位浮雕[h9P4UqnCR5SrXxwZKpQ2LQ]超过了[10%] [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屋!