Problems starting index node

btw i am using version 0.8.2

Hi north,

What version is your apache commons-collections?

UnmodifiableMap is present only in version 3.0 and later, maybe this is a jar version or classpath issue?

  • Jon

Did some snooping, appears the path: “org/apache/commons/collections/map/UnmodifiableMap” has changed in version 4 (i’m using version 4-4.1) to “org/apache/commons/collections4/map/UnmodifiableMap”

What do you think?

Certainly appreciate the help,

Troy

Thus, leading to the exception:

io.druid.initialization.Initialization - Adding remote extension module[io.druid.storage.hdfs.HdfsStorageDruidModule] for class[io.druid.initialization.DruidModule]

Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap

at org.apache.hadoop.conf.Configuration$DeprecationContext.(Configuration.java:409)

at org.apache.hadoop.conf.Configuration.(Configuration.java:448)

at io.druid.storage.hdfs.HdfsStorageDruidModule.configure(HdfsStorageDruidModule.java:93)

at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:230)

at com.google.inject.spi.Elements.getElements(Elements.java:103)

at com.google.inject.spi.Elements.getElements(Elements.java:94)

at com.google.inject.util.Modules$RealOverriddenModuleBuilder$1.configure(Modules.java:173)

at com.google.inject.AbstractModule.configure(AbstractModule.java:62)

at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:230)

at com.google.inject.spi.Elements.getElements(Elements.java:103)

at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)

at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)

at com.google.inject.Guice.createInjector(Guice.java:96)

at com.google.inject.Guice.createInjector(Guice.java:73)

at com.google.inject.Guice.createInjector(Guice.java:62)

at io.druid.initialization.Initialization.makeInjectorWithModules(Initialization.java:412)

at io.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:55)

at io.druid.cli.ServerRunnable.run(ServerRunnable.java:37)

at io.druid.cli.Main.main(Main.java:91)

Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.UnmodifiableMap

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

+1 on the issue

Hey guys, what is an index node?
Do you mean an overlord? middlemanager? Are you trying to ingest data via Hadoop?