Elasticsearch cluster health: yellow unassigned shards

查看ES各个分片的状态

$ curl -XGET http://127.0.0.1:9200/_cluster/health?pretty
{
"cluster_name" : "elasticsearch_brew",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 350,
"active_shards" : 350,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 3,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0
}

Elasticsearch单台,增加kibana监控,集群状态总是黄色,索引kibana副本有问题,我ES里设置了一个

直接执行下列命令,删除多余副本

curl -XPUT "http://localhost:9200/_settings" -d'
{
"number_of_replicas" : 0
}'
上一篇:feed


下一篇:YUM:Yellow dog Updater Modified