curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "elasticsearch",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 5,
"number_of_data_nodes" : 5,
"active_primary_shards" : 97,
"active_shards" : 389,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 1
here is the output to a _status
after filling this out i figured out what it was but wanted to know if this
is expected.
I have an index that with a single shard and its replication is set to 5
what ever means priamry plus 5 copies. I killed one node days ago and then
rebooted the clusters today. but it would not allocate that 1 shard that it
did not have a machine for? So it blocked everything else. I would think
since there are 5 other copies of the data and the other 5 were active much
longer then this other shard it should have been fine to boot up. the
moment i added a machine to the cluster it got that extra copy. and
everything was fine.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.