Dremio is exiting with NoClassDefFoundError

Hello All,

We installed dremio single node in linux vm and while starting having the below issue class not found error.
we installed using below rpm downloaded from site, with OpenJDK 1.8 installed, do we need to install any jars manually as it looks like io.netty.util.internal jar is missing.


openjdk version “1.8.0_212”
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)

Dremio is exiting. Failure while starting services.
java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent
at io.netty.buffer.PooledByteBufAllocator.(PooledByteBufAllocator.java:97)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:156)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
at java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
at java.lang.reflect.Field.getBoolean(Field.java:428)
at org.apache.arrow.memory.RootAllocatorFactory.checkPoolConfiguration(RootAllocatorFactory.java:101)
at org.apache.arrow.memory.RootAllocatorFactory.newRoot(RootAllocatorFactory.java:92)
at org.apache.arrow.memory.RootAllocatorFactory.newRoot(RootAllocatorFactory.java:61)
at com.dremio.exec.server.BootStrapContext.(BootStrapContext.java:52)
at com.dremio.dac.daemon.DACDaemonModule.bootstrap(DACDaemonModule.java:153)
at com.dremio.dac.daemon.DACDaemon.(DACDaemon.java:172)
at com.dremio.dac.daemon.DACDaemon.newDremioDaemon(DACDaemon.java:285)
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:101)

Did anyone faced similar issue while starting up dremio in single node installation can provide some input will be greatly appreciated.

@nsen or @kelly
Could you shed some light on this ?
You guys have been very helpful in community support.

What linux distribution and version are you running on?

it’s Red Hat Enterprise Linux 7

Which RHEL 7 version? We only support 7.3 and above.

below the complete version info

Red Hat Enterprise Linux Server release 7.6 (Maipo)

I just tried on a Red Hat Enterprise Linux Server release 7.6 (Maipo) VM and it started up fine. I had installed Java using sudo yum install java-1.8.0-openjdk and Dremio had no problem starting after installing the same RPM.

openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)

Thanks for doing the installation for validation.
will try to check back how the jdk 1.8 was installed, in our case it was previous version of java java-1.7.0-openjdk was already installed in the node and need to check if the previous version was uninstalled prior installing 1.8 or just installed on top of 1.7.

will update, thanks for your information.

Thanks for your response, and simulating the scenario in your infrastructure,

we have successfully installed 3.2 up and ruining in RHEL 7.6 platform.

Thanks again.