From nobody Wed Aug 18 10:02:11 2021 X-Original-To: elastic@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B71461761275 for ; Wed, 18 Aug 2021 10:02:14 +0000 (UTC) (envelope-from fh@netzkommune.de) Received: from smtp1.nkhosting.net (smtp1.nkhosting.net [IPv6:2001:1608:6:7::3:14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GqNjd6wp6z3nbV for ; Wed, 18 Aug 2021 10:02:13 +0000 (UTC) (envelope-from fh@netzkommune.de) Received: from smtpclient.apple (dynamic-046-114-140-178.46.114.pool.telefonica.de [46.114.140.178]) by smtp1.nkhosting.net (Postfix) with ESMTPSA id A44B13B0E for ; Wed, 18 Aug 2021 12:02:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=netzkommune.de; s=smtp1-dkim; t=1629280933; bh=29WFLPEYJH8E2d+K3mDc1jatHiRXIlrDliTiO9ZBnpw=; h=From:Subject:Date:To; b=JGsQ6jWlafz4GQD6DD1rlr5WDgyiDsMghUPPB6jf9BEZPCvAEHZOpVHIifNNGFZEJ etBAp2hbqpD2G6my5ppCw9KCkhBRbh/gvzp1QZIz1HiaRFVdfjmbONGpOU5mEOLEyO MLzTNWksgJQMCBwNYFuF2MazZUWR5rZCmWuQgtKs= From: Filias Heidt Content-Type: multipart/signed; boundary="Apple-Mail=_2BFA2772-9E49-49EB-85CF-805CD945DCD8"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Support of ElasticSearch-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-elastic List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-elastic@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: ES 7.14.0 not compatible with Prometheus Exporter due to Java Version Message-Id: <04EA2729-F165-4A95-9D90-9A0E22BE8782@netzkommune.de> Date: Wed, 18 Aug 2021 12:02:11 +0200 To: "elastic@freebsd.org" X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Rspamd-Queue-Id: 4GqNjd6wp6z3nbV X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netzkommune.de header.s=smtp1-dkim header.b=JGsQ6jWl; dmarc=pass (policy=none) header.from=netzkommune.de; spf=pass (mx1.freebsd.org: domain of fh@netzkommune.de designates 2001:1608:6:7::3:14 as permitted sender) smtp.mailfrom=fh@netzkommune.de X-Spamd-Result: default: False [-5.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[netzkommune.de:s=smtp1-dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; HAS_ATTACHMENT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[elastic@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ptr:nkhosting.net]; DKIM_TRACE(0.00)[netzkommune.de:+]; DMARC_POLICY_ALLOW(-0.50)[netzkommune.de,none]; NEURAL_HAM_SHORT(-0.99)[-0.986]; TO_DN_EQ_ADDR_ALL(0.00)[]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:31400, ipnet:2001:1608::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.140.178:received] X-ThisMailContainsUnwantedMimeParts: Y --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 = = > 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--