-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Encounters the following exception. Not able to resolve epoll/kqueue
Exception in thread "main" java.lang.UnsatisfiedLinkError: failed to load the required native library at io.netty.channel.epoll.Epoll.ensureAvailability(Epoll.java:81) at io.netty.channel.epoll.EpollEventLoop.<clinit>(EpollEventLoop.java:57) at io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:189) at io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:37)
Steps to reproduce.
- Create a new maven project with just numaflow-java as a dependency
- Have a docker file with arm64v8/openjdk:17 as base build and create a docker image
- Deploy the image in a pipeline
Sample Dockerfile
FROM --platform=arm64 arm64v8/openjdk:17 as build
WORKDIR app
COPY target/numaflow-mdt-1.0-jar-with-dependencies.jar ./
ENTRYPOINT ["java", "-verbose:classes", "-jar", "numaflow-mdt-1.0-jar-with-dependencies.jar"]
Metadata
Metadata
Assignees
Labels
No labels