Primary shard is not active or isn't assigned is a known node ?

前端 未结 4 834
既然无缘
既然无缘 2021-02-07 04:37

I am running an elastic search version 4.1 on windows 8. I tried to index a document through java. When running a JUNIT test the error appears as below.

org.el         


        
4条回答
  •  旧时难觅i
    2021-02-07 05:02

    I faced the exact same error and in my case, I had multiple master and data nodes. Master nodes were added to the load balancer but data nodes were not. So master wasn't able to communicate with the data node.

    As soon as I brought all the data nodes in the load balancer, my problem was fixed.

提交回复
热议问题