昨天还可以正常启动,今天及不行。。

在网上找了很多方法都不行,后来参考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"]

 

相关文章:

  • 2021-07-19
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
猜你喜欢
  • 2022-12-23
  • 2021-06-24
  • 2021-09-25
  • 2021-12-13
  • 2021-05-03
  • 2021-06-05
  • 2021-06-10
相关资源
相似解决方案