TECHIES WORLD

For Techs.... Techniques.... Technologies....

BashLinux

Elasticsearch Error: "the shard cannot be allocated to the same node on which a copy of the shard already exists"

"the shard cannot be allocated to the same node on which a copy of the shard already exists"

This is a common issue that happens on single node Elasticsearch cluster.

The problem can be solved by setting "number_of_replicas: 0" on all indices.

That's all…