查看elasticsearch日志报错如下:
root@21yunwei ELk]# tail -f /var/log/logstash.log [2017-02-07T01:45:10,273][INFO ][o.e.c.r.a.DiskThresholdMonitor] [hqHMsa3] low disk watermark [85%] exceeded on [hqHMsa3qS_2aDj03ipQfzw][hqHMsa3][/usr/local/ELk/elasticsearch-5.1.1/data/nodes/0] free: 692.5mb[10.2%], replicas will not be assigned to this node
原因是通过es的日志发现,当前机器磁盘处在一个high watermark ,以至于索引分片不能分配至该节点。
解决办法:
清理磁盘空间。
清理以后日志显示:
[2017-02-07T01:49:40,457][INFO ][o.e.c.r.a.DiskThresholdMonitor] [hqHMsa3] rerouting shards: [one or more nodes has gone under the high or low watermark]
重新路由碎片:一个或多个节点已经在高或低水位下
通过以上es日志可知,集群中的任何节点处在高水位上,高水位下,都会进行索引分配的重新路由。
转载请注明:西数超哥博客www.ysidc.top» low disk watermark [85%] exceeded on …,replicas will not be assigned to this node集群索引分配异常解决办法
https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top