码上敲享录 > Elasticsearch常见问题 > at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must

at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must

上一章章节目录下一章 2021-04-08已有1262人阅读 评论(0)

开放对外访问后启动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

ERROR: Elasticsearch did not exit normally - check the logs at /usr/local/java/elasticsearch-7.6.1/logs/elasticsearch.log


解决方法:

在elasticsearch.yml中将以下配置的注释去掉

cluster.initial_master_nodes: ["node-1", "node-2"]


向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti
0

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交