Date: Wed, 18 Aug 2021 12:06:02 +0200 From: Juraj Lutter <otis@FreeBSD.org> To: Filias Heidt <fh@netzkommune.de> Cc: "elastic@freebsd.org" <elastic@FreeBSD.org> Subject: Re: ES 7.14.0 not compatible with Prometheus Exporter due to Java Version Message-ID: <63737714-B94E-4317-8073-64EA34D69280@FreeBSD.org> In-Reply-To: <04EA2729-F165-4A95-9D90-9A0E22BE8782@netzkommune.de> References: <04EA2729-F165-4A95-9D90-9A0E22BE8782@netzkommune.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_5D788B1F-23C1-42D5-AABB-7348CF67A636 Content-Type: multipart/alternative; boundary="Apple-Mail=_47472A72-12B1-4706-BFA1-43461CEB614D" --Apple-Mail=_47472A72-12B1-4706-BFA1-43461CEB614D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, > On 18 Aug 2021, at 12:02, Filias Heidt <fh@netzkommune.de> wrote: >=20 > Hi, >=20 > 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) >=20 > 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. You can instruct elasticsearch to use Java 11 at run time (using = elasticsearch_java_home rc.conf variable). >=20 > 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?) I will have to consider this anyway. Thanks for noticing this. otis =E2=80=94 Juraj Lutter otis@FreeBSD.org --Apple-Mail=_47472A72-12B1-4706-BFA1-43461CEB614D-- --Apple-Mail=_5D788B1F-23C1-42D5-AABB-7348CF67A636 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----- iHUEAREIAB0WIQR9WLqI3W4V0bRHtaAtyIKFszIZVAUCYRzbigAKCRAtyIKFszIZ VK+SAP4tkabND57ZJsjDnRI8hK33KEBaiSlxSqTxfCcsFH86EAD/ed7g8ELLn/aC BzcyybW0lO58WYTi5Yanail6VnifSBo= =9sjl -----END PGP SIGNATURE----- --Apple-Mail=_5D788B1F-23C1-42D5-AABB-7348CF67A636--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63737714-B94E-4317-8073-64EA34D69280>
