Cluster State Red


(Dan Tuffery) #1

I have 5 nodes in my cluster (I have set replicas to 0 for now), the status
is not moving from red:

curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "my-cluster",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 5,
"number_of_data_nodes" : 5,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 5
}

active_shards:0 and unassinged_shards:5 can't be good

There is only a warn in the logs:

[WARN ][discovery] [Running Man] waited for 30s and no initial stat

All of the nodes have joined the cluster, and I can't see errors in any of
the node's logs but a search query gives the following error:

{"error":"SearchPhaseExecutionException[Failed to execute phase [query],
all shards failed]","status":503}

any ideas on how to resolve this?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e59c4dbc-0795-4f89-8d5b-7c4ee0723451%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2