对于elasticsearch.yml 的配置如下,
cluster.name: lcc-application
node.name: node-172-16-96-66
node.master: true
node.data: true
path.data: /home/es/elasticsearch/elasticsearch-6.2.3_data/data/
path.logs: /home/es/elasticsearch/elasticsearch-6.2.3_data/logs/
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: ["172.16.96.66","172.16.96.67","172.16.96.68"]
discovery.zen.minimum_master_nodes: 2
http.cors.enabled: true
http.cors.allow-origin: "*"
每台除了node.name不一样,第三台的master为false,其余完全一样,可为什么总是报错啊