在
Linux
中安装elasticsearch
的时候碰到了这个错误:
the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
解决办法:
- 在
elasticsearch.yml
配置文件中 添加:
cluster.initial_master_nodes: ["node-1"]
标题:the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
作者:chengzime
地址:https://chengzime.com.cn/articles/2019/10/28/1572256454510.html