1、elasticsearch-7.2.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。
1 [elsearch@slaver2 elasticsearch-7.2.1]$ ./bin/elasticsearch
2 future versions of Elasticsearch will require Java 11; your Java version from [/usr/local/soft/jdk1.8.0_281/jre] does not meet this requirement
3 [2021-03-23T15:13:43,592][INFO ][o.e.e.NodeEnvironment ] [slaver2] using [1] data paths, mounts [[/ (/dev/mapper/centos-root)]], net usable_space [1.1gb], net total_space [9.9gb], types [xfs]
4 [2021-03-23T15:13:43,599][INFO ][o.e.e.NodeEnvironment ] [slaver2] heap size [990.7mb], compressed ordinary object pointers [true]
5 [2021-03-23T15:13:43,605][INFO ][o.e.n.Node ] [slaver2] node name [slaver2], node ID [FsI1qieBQ5Kn4MYh001oHQ], cluster name [elasticsearch]
6 [2021-03-23T15:13:43,607][INFO ][o.e.n.Node ] [slaver2] version[7.2.1], pid[10143], build[default/tar/fe6cb20/2019-07-24T17:58:29.979462Z], OS[Linux/3.10.0-1160.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_281/25.281-b09]
7 [2021-03-23T15:13:43,610][INFO ][o.e.n.Node ] [slaver2] JVM home [/usr/local/soft/jdk1.8.0_281/jre]
8 [2021-03-23T15:13:43,612][INFO ][o.e.n.Node ] [slaver2] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccu