Re: ES 7.14.0 not compatible with Prometheus Exporter due to Java Version

From: Filias Heidt <fh_at_netzkommune.de>
Date: Wed, 18 Aug 2021 13:02:27 UTC
On 18. Aug 2021, at 12:06, Juraj Lutter <otis@FreeBSD.org> wrote:
> 
> You can instruct elasticsearch to use Java 11 at run time (using elasticsearch_java_home rc.conf variable).

Setting elasticsearch_java_home="/usr/local/openjdk16/“ worked! But it seems only for IPv4 - setting network.host to an IPv6-only Hostname or an IPv6-Address, I get exceptions indicating that IPv6 is not supported?
Hostname:
org.elasticsearch.transport.BindTransportException: Failed to resolve host [[myhostname]]
	at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:373) ~[elasticsearch-7.14.0.jar:7.14.0]
org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to resolve host [myhostname]]; nested: UnknownHostException[myhostname: hostname nor servname provided, or not known];

IPv6-Address:
org.elasticsearch.transport.BindTransportException: Failed to bind to [v6IP]:[9300-9400]
[…]
[2021-08-18T14:41:01,792][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [hostname] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to bind to [v6ip]:[9300-9400]]; nested: UnsupportedAddressTypeException;

Is there a switch I’m missing to enable IPv6-Support?

Thanks again!
Cheers,
Filias