es磁盘使用为啥这么不均匀_赵承胜博客的技术博客_51CTO博客
source link: https://blog.51cto.com/zhaochengsheng/5938898
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
es磁盘使用为啥这么不均匀
精选 原创赵承胜博客 2022-12-15 10:50:43 博主文章分类:Elasticsearch ©著作权
文章标签 es磁盘使用为啥这么不均匀 文章分类 云平台 云计算 阅读数163
解决方案如下
过下面的命令查到集群reblance属性是none
使用下面的命令恢复平衡
{
"persistent": {
"cluster.routing.rebalance.enable": "all"
}
}
登录主机发现有的节点已经 95%
调整es磁盘水平线,即磁盘空间占用情况和分片的情况。
{
"persistent": {
"cluster": {
"routing": {
"allocation.disk.watermark.high": "90%",
"allocation.disk.watermark.low": "85%"
}
}
}
}'
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK