Cluster health, status "yellow"


(vitaly.bulgakov) #1

This is my health query and result.

http://:9200/_cluster/health?pretty=true

{
"cluster_name" : "elasticsearch",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 10,
"active_shards" : 10,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 10
}

Does it show any issue?

What is this "yellow" ?

What is the meaning of "unassigned_shards" : 10 ?

--
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/a9d9c141-3c35-4c1c-a1c5-76a3ffc8d296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

It means that you have only one node on your cluster.
So elasticsearch can not allocate replica shards but only primaries.

You have 10 shards allocated (primaries) and 10 replicas are not allocated.

Yellow means that all shards are not allocated.

You can start a new node and it will be green.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 19 août 2014 à 17:32:53, vitaly (vitaly.bulgakov@gmail.com) a écrit:

This is my health query and result.

http://:9200/_cluster/health?pretty=true
{
"cluster_name" : "elasticsearch",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 10,
"active_shards" : 10,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 10
}

Does it show any issue?
What is this "yellow" ?
What is the meaning of "unassigned_shards" : 10 ?

--
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/a9d9c141-3c35-4c1c-a1c5-76a3ffc8d296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/etPan.53f371f7.836c40e.132%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.


(system) #3