Py学习  »  Elasticsearch

elasticsearch-“error”:“indexMissingException[[\u cluster]missing]”,

Snowcrash • 4 年前 • 1302 次点击  

本页:

https://www.datadoghq.com/blog/elasticsearch-unassigned-shards/

建议运行:

curl -XGET localhost:9200/_cluster/allocation/explain?pretty

但我得到:

{
  "error" : "IndexMissingException[[_cluster] missing]",
  "status" : 404
}

为什么?

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/37965
 
1302 次点击  
文章 [ 1 ]  |  最新文章 4 年前
ben5556
Reply   •   1 楼
ben5556    5 年前

您运行的是哪个版本的ElasticSearch?

您在ElasticSearch节点或Kibana节点上执行以下命令吗?应在运行ElasticSearch的节点上运行

curl -XGET localhost:9200/_cluster/allocation/explain?pretty

一种更简单的方法是从kibana控制台上的dev tools运行以下命令

GET /_cluster/allocation/explain