Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for building numaflow-java with openjdk17 #148

Open
RohanAshar opened this issue Oct 23, 2024 · 0 comments
Open

Support for building numaflow-java with openjdk17 #148

RohanAshar opened this issue Oct 23, 2024 · 0 comments

Comments

@RohanAshar
Copy link
Contributor

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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant