摘要:
假设有如下数据,以空格为数据列分割: 1 何维川 124.63 172 0.72 2 张子寅 99.67 172 0.58 3 周广滨 93.34 188 0.50 4 陈兴 41.86 188 0.22 5 薛永成 26.68 188 0.14 6 张永福 18.25 188 0.10 7 李华田 阅读全文
posted @ 2017-08-31 17:52
bonelee
阅读(5937)
评论(1)
推荐(0)
摘要:
说下shard出现的几个状态说明: relocating_shards shows the number of shards that are currently moving from one node to another node(现网中遇到,因为kill -9重启es的方法不对,导致node 阅读全文
posted @ 2017-08-31 17:44
bonelee
阅读(12536)
评论(1)
推荐(0)
摘要:
Red Cluster! 摘自:http://blog.kiyanpro.com/2016/03/06/elasticsearch/reroute-unassigned-shards/ There are 3 cluster states: When cluster health is red, i 阅读全文
posted @ 2017-08-31 17:26
bonelee
阅读(5952)
评论(2)
推荐(0)
摘要:
Recovering unassigned shards on elasticsearch 2.x 摘自:https://z0z0.me/recovering-unassigned-shards-on-elasticsearch/ I got accross the problem when dec 阅读全文
posted @ 2017-08-31 17:24
bonelee
阅读(594)
评论(1)
推荐(0)
摘要:
How to resolve unassigned shards in Elasticsearch 转自:https://www.datadoghq.com/blog/elasticsearch-unassigned-shards/ How to resolve unassigned shards 阅读全文
posted @ 2017-08-31 17:20
bonelee
阅读(817)
评论(1)
推荐(0)
摘要:
解决方法:(1)如果是红色的,可以直接分片shard给你认为有最新(或最多)数据的节点。见下: 摘自:https://discuss.elastic.co/t/how-to-resolve-the-unassigned-shards/87635 Use the reroute command to 阅读全文
posted @ 2017-08-31 15:50
bonelee
阅读(6282)
评论(2)
推荐(0)
摘要:
elasticsearch如何安全重启节点 问题: elasticsearch集群,有时候可能需要修改配置,增加硬盘,扩展内存等操作,需要对节点进行维护升级。但是业务不能停,如果直接kill掉节 点,可能导致数据丢失。而且集群会认为该节点挂掉了,就开始转移数据,当重启之后,它又会恢复数据,如果你当前 阅读全文
posted @ 2017-08-31 15:10
bonelee
阅读(2334)
评论(0)
推荐(0)
摘要:
摘自:http://unasm.com/2016/11/644/ 在通过 /_cluster/state 命令查看es 状态的时候,发现es 处于一个yellow的状态, 这个很奇怪,按照官方的解释,就是所有主分片都是处于可用状态,但是有复制分片不可用。为什么有复制分片不可用呢? 通过/_cat/s 阅读全文
posted @ 2017-08-31 14:44
bonelee
阅读(11151)
评论(0)
推荐(0)

浙公网安备 33010602011771号