the default discovery settings are unsuitable for production use; at least one of [discovery.seed_ho

版本:7.17.5
错误信息:

ERROR: [1] bootstrap checks failed. You must address the points
described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [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/elasticsearch-7.17.5/logs/test-ES.log

解决方法:

到安装目录的config目录,编辑elasticsearch.yml

vim elasticsearch.yml

找到-------discovery-------,做如下修改
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_52799373/article/details/126457128
今日推荐