When trying to add the new node to the cluster it fails on bootstrapcheck.
[2020-05-28T20:05:45,054][INFO ][o.e.t.TransportService ] [log04] publish_address {192.168.2.194:9300}, bound_addresses {192.168.2.194:9300}
[2020-05-28T20:05:45,426][INFO ][o.e.b.BootstrapChecks ] [log04] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2020-05-28T20:05:45,436][ERROR][o.e.b.Bootstrap ] [log04] node validation exception
[1] bootstrap checks failed
[1]: JVM is using the serial collector but should not be for the best performance; either it's the default for the VM [OpenJDK 64-Bit Server VM] or -XX:+UseSerialGC was explicitly specified
It is an ubuntu 20.04, with the default embedded OpenJDK.
Do you guys know of any "bugs" on Ubuntu 20.04 and Elasticserch 7.7.0?
I ran into the same thing. Took me a while digging through the chain of shell scripts to figure out a fix. Hopefully this'll save someone else some headache.
I had to modify the systemd unit file with a new environment variable to force java off of the "Serial Garbage Collector"
Note that paths may vary depending on OS (I'm on CentOS):
root@linux# cd /lib/systemd/system
Modify elasticsearch.service
In the [Service] section, add the following with the other Environment= lines
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.