Elasticsearch运行异常:cluster.initial_master_nodes] must be configured

问题描述如下:

ERROR: [1] bootstrap checks failed
[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

在这里插入图片描述
解决方法:
打开/config/elasticsearch.yml,并修改cluster.initial_master_nodes属性,如下图:
在这里插入图片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章