Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2021 12:02:11 +0200
From:      Filias Heidt <fh@netzkommune.de>
To:        "elastic@freebsd.org" <elastic@FreeBSD.org>
Subject:   ES 7.14.0 not compatible with Prometheus Exporter due to Java Version
Message-ID:  <04EA2729-F165-4A95-9D90-9A0E22BE8782@netzkommune.de>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_2BFA2772-9E49-49EB-85CF-805CD945DCD8
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_F5BDB623-D43D-45B4-B478-910EEA4140BD"


--Apple-Mail=_F5BDB623-D43D-45B4-B478-910EEA4140BD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi,

Elasticsearch 7 was bumped to 7.14.0 a few days ago (thanks btw!) and I =
tried installing =
https://github.com/vvanholl/elasticsearch-prometheus-exporter =
<https://github.com/vvanholl/elasticsearch-prometheus-exporter>; =
<https://github.com/vvanholl/elasticsearch-prometheus-exporter =
<https://github.com/vvanholl/elasticsearch-prometheus-exporter>>; in the =
correct version after updating.
I get the following Error:
Exception in thread "main" java.lang.IllegalStateException: =
prometheus-exporter requires Java 16:, your system: 8
	at =
org.elasticsearch.jdk.JarHell.checkJavaVersion(JarHell.java:245)
	at =
org.elasticsearch.plugins.PluginsService.verifyCompatibility(PluginsServic=
e.java:344)
	at =
org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPlugi=
nCommand.java:791)
	at =
org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPlugin=
Command.java:846)
	at =
org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginComman=
d.java:246)
	at =
org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginComman=
d.java:216)
	at =
org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareComm=
and.java:75)
	at =
org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116)
	at =
org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:80)
	at =
org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116)
	at org.elasticsearch.cli.Command.main(Command.java:79)
	at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:36)

And I noticed a warning, too:
Future versions of Elasticsearch will require Java 11; your Java version =
from [/usr/local/openjdk8/jre] does not meet this requirement. Consider =
switching to a distribution of Elasticsearch with a bundled JDK. If you =
are already using a distribution with a bundled JDK, ensure the =
JAVA_HOME environment variable is not set.

Is it possible to bump the Java-Version on which ES is dependent to =
something which is supported by both the Prometheus Exporter and ES 7 =
(and possible future version?)

Unfortunately I don=E2=80=99t have the skills to provide you with a =
patch, but I thought I=E2=80=99d let you know this is happening and I =
would greatly appreciate if someone could take a look at that :)

Cheers and thanks for your help!
Filias

--Apple-Mail=_F5BDB623-D43D-45B4-B478-910EEA4140BD--

--Apple-Mail=_2BFA2772-9E49-49EB-85CF-805CD945DCD8
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE/jRNCIq+YuHus/i5a8JanqBvwtEFAmEc2qMACgkQa8JanqBv
wtEHtgf8DNuLoSWvBGlTS5cgkqWMxIp3cZ3CeAkb9FzC5rkjcqgRTccJ53Rg4JCq
A/dTFrf/EZXlry/dtrjZdYuxXmPs6h9gp+fCEamFqb65dqwuSOUYjh4seUDBa/Ca
p8IIka0sb+7XAX8xMQIQllfMXB7/LwvJXbkaGu4lRFBbHeWEhVSq1UKkw7Vy+UR5
G5xiafzDd+kO6SErlvIBT1zy8277wtkyn2CSqFgutN5GL+Q4d2SCLI93OYcjF2oJ
kgqvFzgBNPlvdxAknAKE/6aNrUm55iBTFWtdHZ32US2BP/0DtWHaBQRx7Xq5ETUN
UmxaKJmSC10JD9CG/IMAZaJaTe5eKw==
=g6sN
-----END PGP SIGNATURE-----

--Apple-Mail=_2BFA2772-9E49-49EB-85CF-805CD945DCD8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04EA2729-F165-4A95-9D90-9A0E22BE8782>