小编SSB*_*SSB的帖子

ElasticSearch 启动错误——默认发现设置不适合生产使用;

我试过在 elasticsearch.yaml 文件中给出以下配置

network.host: aa.bbb.ccc.dd 那是我的 IPv4 地址和 http.port: 9200

当我尝试在我的 Windows 机器上运行 elasticsearch.bat 时,对此的响应如下:

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

我真的不太确定为集群初始化配置什么。默认值为 discovery.seed_hosts: ["host1", "host2"]cluster.initial_master_nodes: ["node-1", "node-2"]

startup elasticsearch elasticsearch-7

60
推荐指数
4
解决办法
4万
查看次数

标签 统计

elasticsearch ×1

elasticsearch-7 ×1

startup ×1