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