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屬性,如下圖:
在這裏插入圖片描述

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