ClusterBlockException : All shards failed

Hi, I am getting the error like org.elasticsearch.cluster.block.ClusterBlockException : blocked by : [SERVICE_UNAVAILABLE/1/state not recovered/initialized]

where the cluster health status is YELLOW and primary shards allocated are same as shards activated.

Which version of Elasticsearch are you using? How is your cluster configured and deployed? Is there anything relevant in the Elasticsearch logs?

I'm using 7.6.2 version of Elasticsearch. All the settings are default regarding clusters and nodes. There is nothing more related to error beside the note " org.elasticsearch.cluster.block.ClusterBlockException : blocked by : [SERVICE_UNAVAILABLE/1/state not recovered/initialized] ".

Is this a single node cluster? Can you provide excerpts from the logs around that error?

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

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