无法开始弹性搜索节点从属

时间:2014-09-17 13:06:34

标签: elasticsearch

我无法使用node.master:false

启动elasticsearch

elasticsearch.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

1 个答案:

答案 0 :(得分:0)

YML语法非常严格,您需要在node.masterfalse之间添加空格:

node.master: false