greetings friends –
I’m trying to interface our library with Dremio and found the sample internal function on GitHub. The example looks super easy. But the server crashes when scanning the added JAR.
I dropped my own code and fell back to just the original function. Still fails wen scanning the reduced JAR.
Has anyone else tried this example?
https://github.com/dremio-hub/dremio-internal-function-example/
Can any of you make sense of this error?
Dremio is exiting. Failure while starting services.
java.lang.RuntimeException: Unexpected class load failure while attempting to load Function Registry (io.netty.buffer.ArrowBuf)
at com.dremio.common.scanner.persistence.TypeDescriptor$ClassTypeDescriptor.getType(TypeDescriptor.java:96)
...
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:146)
Suppressed: java.lang.RuntimeException: Unexpected class load failure while attempting to load Function Registry (io.netty.buffer.ArrowBuf)
at com.dremio.common.scanner.persistence.TypeDescriptor$ClassTypeDescriptor.getType(TypeDescriptor.java:96)
...
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:149)
Suppressed: java.lang.NullPointerException
at com.dremio.provision.service.ProvisioningServiceImpl.close(ProvisioningServiceImpl.java:490)
... 9 more
Caused by: java.lang.ClassNotFoundException: io.netty.buffer.ArrowBuf
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.dremio.common.scanner.persistence.TypeDescriptor$ClassTypeDescriptor.getType(TypeDescriptor.java:93)
... 24 more
Caused by: java.lang.ClassNotFoundException: io.netty.buffer.ArrowBuf
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.dremio.common.scanner.persistence.TypeDescriptor$ClassTypeDescriptor.getType(TypeDescriptor.java:93)
... 19 more