简体   繁体   English

elasticsearch-“错误”:“ IndexMissingException [[_ cluster]丢失]”,

[英]elasticsearch - “error” : “IndexMissingException[[_cluster] missing]”,

This page: 这一页:

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

suggests running: 建议跑步:

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

but I get: 但我得到:

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

Why? 为什么?

Which version of elasticsearch are you running ? 您正在运行哪个版本的elasticsearch?

Are you executing the below command on elasticsearch node or Kibana node ? 您是在elasticsearch节点还是Kibana节点上执行以下命令? Should be run on the node where elasticsearch is running 应该在运行elasticsearch的节点上运行

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

A simpler way is to run the below command from Dev Tools on Kibana console 一种更简单的方法是在Kibana控制台上的Dev Tools中运行以下命令

GET /_cluster/allocation/explain

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM