Elasticsearch cluster 'master_not_discovered_exception'

后端 未结 6 1629
死守一世寂寞
死守一世寂寞 2021-02-07 10:48

i have installed elasticsearch 2.2.3 and configured in cluster of 2 nodes

Node 1 (elasticsearch.yml)

cluster.name: my-cluster
node.name: node1
bootstrap.         


        
6条回答
  •  臣服心动
    2021-02-07 11:27

    Sandeep's answer above hinted to me that nodes aren't able to talk to each other. When I dug more into this, I found that I was missing inbound rule for TCP, port 9300 in EC2's security group. Added the rules and restarted elasticsearch service on all nodes and it started working.

提交回复
热议问题