Bin/elasticsearch

The installation method used by the existing 6.x version cannot be installed with the latest 7.3.1.

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[2019-09-05T07:35:16,537][INFO ][o.e.e.NodeEnvironment ] [ip-172-31-0-14] using [1] data paths, mounts [[/ (/dev/nvme0n1p1)]], net usable_space [3.5gb], net total_space [7.8gb], types [ext4]
[2019-09-05T07:35:16,544][INFO ][o.e.e.NodeEnvironment ] [ip-172-31-0-14] heap size [123.7mb], compressed ordinary object pointers [true]
[2019-09-05T07:35:16,547][INFO ][o.e.n.Node ] [ip-172-31-0-14] node name [ip-172-31-0-14], node ID [T4HCWlYMQUK_8lsGLu0k2A], cluster name [elasticsearch]
[2019-09-05T07:35:16,548][INFO ][o.e.n.Node ] [ip-172-31-0-14] version[7.3.1], pid[2255], build[default/tar/4749ba6/2019-08-19T20:19:25.651794Z], OS[Linux/4.14.123-86.109.amzn1.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/12.0.2/12.0.2+10]
[2019-09-05T07:35:16,549][INFO ][o.e.n.Node ] [ip-172-31-0-14] JVM home [/home/ec2-user/elasticsearch-7.3.1/jdk]
[2019-09-05T07:35:16,549][INFO ][o.e.n.Node ] [ip-172-31-0-14] JVM arguments [-Xms128m, -Xmx128m, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-4339231796970458541, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Djava.locale.providers=COMPAT, -Dio.netty.allocator.type=unpooled, -XX:MaxDirectMemorySize=67108864, -Des.path.home=/home/ec2-user/elasticsearch-7.3.1, -Des.path.conf=/home/ec2-user/elasticsearch-7.3.1/config, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=true]
[2019-09-05T07:35:18,972][INFO ][o.e.p.PluginsService ] [ip-172-31-0-14] loaded module [aggs-matrix-stats]
[2019-09-05T07:35:18,973][INFO ][o.e.p.PluginsService ] [ip-172-31-0-14] loaded module [analysis-common]
.
.
.
pack-voting-only-node]
[2019-09-05T07:35:18,981][INFO ][o.e.p.PluginsService ] [ip-172-31-0-14] loaded module [x-pack-watcher]
[2019-09-05T07:35:18,981][INFO ][o.e.p.PluginsService ] [ip-172-31-0-14] no plugins loaded
[2019-09-05T07:35:23,167][INFO ][o.e.x.s.a.s.FileRolesStore] [ip-172-31-0-14] parsed [0] roles from file [/home/ec2-user/elasticsearch-7.3.1/config/roles.yml]
[2019-09-05T07:35:23,965][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [ip-172-31-0-14] [controller/2353] [Main.cc@110] controller (64 bit): Version 7.3.1 (Build 1d93901e09ef43) Copyright (c) 2019 Elasticsearch BV
[2019-09-05T07:35:24,413][DEBUG][o.e.a.ActionModule ] [ip-172-31-0-14] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2019-09-05T07:35:24,735][INFO ][o.e.d.DiscoveryModule ] [ip-172-31-0-14] using discovery type [zen] and seed hosts providers [settings]
[2019-09-05T07:35:25,620][INFO ][o.e.n.Node ] [ip-172-31-0-14] initialized
[2019-09-05T07:35:25,621][INFO ][o.e.n.Node ] [ip-172-31-0-14] starting ...
[2019-09-05T07:35:25,800][INFO ][o.e.t.TransportService ] [ip-172-31-0-14] publish_address {172.31.0.14:9300}, bound_addresses {172.31.0.14:9300}
[2019-09-05T07:35:25,806][INFO ][o.e.b.BootstrapChecks ] [ip-172-31-0-14] bound or publishing to a non-loopback address, enforcing bootstrap checks
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
[2019-09-05T07:35:25,817][INFO ][o.e.n.Node ] [ip-172-31-0-14] stopping ...
[2019-09-05T07:35:25,868][INFO ][o.e.n.Node ] [ip-172-31-0-14] stopped
[2019-09-05T07:35:25,868][INFO ][o.e.n.Node ] [ip-172-31-0-14] closing ...
[2019-09-05T07:35:25,883][INFO ][o.e.n.Node ] [ip-172-31-0-14] closed
[2019-09-05T07:35:25,886][INFO ][o.e.x.m.p.NativeController] [ip-172-31-0-14] Native controller process has stopped - no new native processes can be started

This part says it all:

[2019-09-05T07:35:25,806][INFO ][o.e.b.BootstrapChecks ] [ip-172-31-0-14] bound or publishing to a non-loopback address, enforcing bootstrap checks
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

Please read https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.