Installing Marvel plugin : exception Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/util/IOUtils

monitoring

(Ayman Elwany) #1

I'm trying to install marvel plugin in elasticsearch , whenver I run the command from elasticsearch folder :
bin/plugin install file:///path/to/file/license-2.4.0.zip
I get this error
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/util/IOUtils
at org.elasticsearch.common.xcontent.json.JsonXContentParser.close(JsonXContentParser.java:193)
at org.elasticsearch.common.settings.loader.XContentSettingsLoader.load(XContentSettingsLoader.java:46)
at org.elasticsearch.common.settings.loader.YamlSettingsLoader.load(YamlSettingsLoader.java:46)
at org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromStream(ImmutableSettings.java:982)
at org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromUrl(ImmutableSettings.java:969)
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(InternalSettingsPreparer.java:68)
at org.elasticsearch.plugins.PluginManager.main(PluginManager.java:395)
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.util.IOUtils
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

elasticsearch is running on
Java version is 1.8.0_91 , OpenJDK
inside docker container


(Tanguy) #2

Hi,

How did you install elasticsearch? Using the tar.gz archive or rpm/deb package?


(Ayman Elwany) #3

we are using the elasticsearch EFK stack coming with Openshift , elasticsearch version 3.2


(Tanguy) #4

Ok, then I would be able to help you. Maybe can you try to ask the openshift/EFK maintainers?


(Ayman Elwany) #5

Many thanks Tangut , I decided to the generic elasticsearch docker image , not the one provided by Openshift as it is easier to deal with


(system) #6