我无法使用node.master:false
启动elasticsearchelasticsearch.yml
cluster.name: graylog2
node.name: "second"
node.master: false
node.data: true
index.number_of_shards: 2
bootstrap.mlockall: true
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: 192.168.93.76
script.disable_dynamic: true
service elasticsearch restart
netstat -an | grep 9200
NULL
答案 0 :(得分:0)
YML语法非常严格,您需要在node.master
和false
之间添加空格:
node.master: false