-
Notifications
You must be signed in to change notification settings - Fork 598
ClassNotFoundException: io.netty.channel.epoll.NativeStaticallyReferencedJniMethods #3170
Comments
i am running minikube on mac |
Look like heron packaged with old distributedlog core jar (0.5). in this release, it package io.netty with dlshade which will cause issue when loading native library. |
Here is the log in the api server |
adding -D io.netty.packagePrefix=dlshade. didn't solve the problem |
I am using the kubernete deployment and go through the installation step.
After deployment, I am seeing the following error in api-server as well as the worker pod
Jan 24, 2019 6:27:39 PM org.apache.distributedlog.impl.BKNamespaceDriver getDefaultEventLoopGroup
WARNING: Could not use Netty Epoll event loop for bookie server:
java.lang.UnsatisfiedLinkError: failed to load the required native library
at dlshade.io.netty.channel.epoll.Epoll.ensureAvailability(Epoll.java:78)
at dlshade.io.netty.channel.epoll.EpollEventLoopGroup.(EpollEventLoopGroup.java:38)
at org.apache.distributedlog.impl.BKNamespaceDriver.getDefaultEventLoopGroup(BKNamespaceDriver.java:259)
at org.apache.distributedlog.impl.BKNamespaceDriver.initializeBookKeeperClients(BKNamespaceDriver.java:270)
at org.apache.distributedlog.impl.BKNamespaceDriver.initialize(BKNamespaceDriver.java:208)
at org.apache.distributedlog.api.namespace.NamespaceBuilder.build(NamespaceBuilder.java:238)
at com.twitter.heron.downloader.DLDownloader.download(DLDownloader.java:66)
at com.twitter.heron.downloader.DownloadRunner.main(DownloadRunner.java:42)
Caused by: java.lang.NoClassDefFoundError: io/netty/channel/epoll/NativeStaticallyReferencedJniMethods
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at dlshade.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:36)
at dlshade.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:278)
at dlshade.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:231)
at dlshade.io.netty.channel.epoll.Native.loadNativeLibrary(Native.java:191)
at dlshade.io.netty.channel.epoll.Native.(Native.java:61)
at dlshade.io.netty.channel.epoll.Epoll.(Epoll.java:33)
... 7 more
Caused by: java.lang.ClassNotFoundException: io.netty.channel.epoll.NativeStaticallyReferencedJniMethods
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 more
Jan 24, 2019 6:27:39 PM org.apache.distributedlog.impl.BKNamespaceDriver createBKCBuilder
The text was updated successfully, but these errors were encountered: