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 /home/libin/elasticsearch-7.12.1/logs/elasticsearch.log
修改配置文件里面的如下语句,取消注释,删掉, “node-2”
cluster.initial_master_nodes: [“node-1”, “node-2”]