Elastic Search閃退問題


昨天還可以正常啟動,今天及不行。。

在網上找了很多方法都不行,后來參考https://blog.csdn.net/happyzxs/article/details/89156068,修復好了

一、遇到的問題

啟動elasticsearch.bar閃退,進入cmd運行elasticsearch,報錯以下錯誤

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: ["node-1","node-2"]改為
cluster.initial_master_nodes: ["node-1"]

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM