IllegalStateException[jar hell

165 views
Skip to first unread message

Akhirul Islam

unread,
Dec 26, 2019, 4:51:05 AM12/26/19
to metrics-user
Hi,

I was trying to plugin the metric reporter in Elassandra 6.2.3.22 (ELasticsearch 6.2.3 + Cassandra 3.11.5).
But unfortunately I am getting the below errors. Need your help to fix this issue..!!1111



- IllegalStateException[failed to load plugin ingest-common due to jar hell]; nested: IllegalStateException[jar hell!

class: com.addthis.metrics.reporter.config.AbstractCsvReporterConfig

jar1: /usr/share/cassandra/lib/reporter-config-base-3.0.3.jar

jar2: /usr/share/cassandra/lib/reporter-config-base-3.0.0.jar]; 

java.lang.IllegalStateException: failed to load plugin ingest-common due to jar hell

at org.elasticsearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:475)

at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:420)

at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:146)

at org.elasticsearch.node.Node.<init>(Node.java:307)

at org.elasticsearch.node.Node.<init>(Node.java:246)

at org.apache.cassandra.service.ElassandraDaemon.activate(ElassandraDaemon.java:181)

at org.apache.cassandra.service.ElassandraDaemon.main(ElassandraDaemon.java:548)

Caused by: java.lang.IllegalStateException: jar hell!

class: com.addthis.metrics.reporter.config.AbstractCsvReporterConfig

jar1: /usr/share/cassandra/lib/reporter-config-base-3.0.3.jar

jar2: /usr/share/cassandra/lib/reporter-config-base-3.0.0.jar

at org.elasticsearch.bootstrap.JarHell.checkClass(JarHell.java:306)

at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:202)

at org.elasticsearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:473)

... 6 more

Jens

unread,
Dec 30, 2019, 10:33:17 AM12/30/19
to metrics-user
Check your Cassandra installation. The error says you have reporter-config-base.jar version 3.0.0 and 3.0.3 and both seem to provide the same elasticsearch plugin.

I don't think that's a metrics issue.

-- J.
Reply all
Reply to author
Forward
0 new messages