The original ES2.3.4 with 1 node, create mapping and index success.
And later changed to distributed, extended to three nodes.
Build a distributed environment successfully.
However, after creating the index, the following error occurs:
{"Error": {"root_cause": [{"type": "unavailable_shards_exception", "reason": "[es_mse_articles] [3] primary shard is not active Timeout: [1m]
I Google for a long time, did not find the root cause.
It sounds like maybe your cluster is too busy and so it isn't able to create the primary shard before the timeout. Perhaps there is another reason, which should be in the logs.
If you were on Elasticsearch 5, you could use the cluster-allocation-explain API to get an easy explanation for what is going wrong.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.