-
Notifications
You must be signed in to change notification settings - Fork 102
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
Could not load FFI provider jnr.ffi.provider.jffi.Provider #258
Comments
Hi, This is the relevant part of the traceback that also explains how to fix this:
If you don't mind me asking, I'd like to know a bit more about the environment where it happens:
The answers wouldn't change anything in the advice offered by the error message, but it would help us understand when the issue happens. |
Hi, Any guidance to permanently fix it would be appreciated. Our base build dockerfile
Thanks |
Btw if I disable the statsd client with noopsstatsD there is no error. So this error specifically originates from this |
I looked a bit into what JFFI is doing, and it appears the library tries to unpack the native library into two different locations, first in
It appears that either Flink or something else is trying to interrupt the thread, and the JFFI library does not handle this gracefully. This would explain the transient nature of the error and why it happens on some deployments but not others. I'm not familar with Flink enough to offer more targeted advice, but perhaps the statsd client initialization could be moved to a different phase in the task lifecycle that would not be interrupted. |
The statsD is already as init step on job graph creation. I am not sure where else we can init it. |
Is there a way I can gracefully handle this exception ? The io interruption is breaking the application and then Job can never boot again |
Hi!,
We are using "com.datadoghq" % "java-dogstatsd-client" % "4.2.0", as SBT dependency for our Flink application. Suddenly during HPA rescaling or any general redeployment we are seeing the following jnr related error from StatsDClientBuilder
Flink version: 1.18
DatadogClient: 3.33.0
We have already tried upgrading to latest 4.4.3 but no luck.
Thanks for any help
The text was updated successfully, but these errors were encountered: