127.0.0.1:9200 master
127.0.0.1:9201 slave1
127.0.0.1:9202 slave2
127.0.0.1:9203 slave3
四个节点的安装包是根据原始包解压后复制的。
结果四个都是master,折腾一天了也没找到问题,跪求大神解答
[elastic@localhost local]$ curl http://127.0.0.1:9201/_cat/nodes
{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}
把slave节点 elasticsearch.yml中的node.master: false 试试