In my elasticsearch 5.4.2 the cluster start without 3 shards


(andy_zhou) #1

how can do to change the es cluster status yellow to green.
it up 4 hours.
"unassigned_shards" : 3,
thanks.


#2

Are all nodes running?

I had a similar situation a few days ago with that same version of Elasticsearch. I could not find a way to assign the shards. In the end it turned out that some of my nodes were not running although I was sure that I had checked that before anything else.

If all nodes are running you can try one of allocate_replica, allocate_stale_primary or allocate_empty_primary depending on what shards they are.

More info: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/cluster-reroute.html

-AB


(andy_zhou) #3

the all nodes is online ..
how can do about it.


(andy_zhou) #4

can give me how about the curl post file. json.


(andy_zhou) #5

i use head close index and open it ,then the shards is going to ok.


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.