-
Notifications
You must be signed in to change notification settings - Fork 56
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
Logstash - Missing JFFI Library #33
Comments
@cwsolee I just tried with AdoptJDK 8 per our messages java -version
echo $JAVA_HOME
echo $PATH
echo $LD_LIBRARY_PATH
We are still getting a JFFI error as with OpenJDK8, IBM Java 8 and OpenJDK11 logstash -f /etc/logstash/conf.d -l /var/log/logstash --log.level=debug --path.settings=/etc/logstash
|
Also, I'm not sure AdoptJDK 8 has a JIT printing help takes 156 seconds
|
Not sure about the libjffi issue w.r.t logstash, but can confirm that OpenJDK 8 with HotSpot VM does not have a JIT on Linux on Z. It was only added in JDK9 or newer. You can consider using OpenJDK 8 with OpenJ9 VM, which will be much more performant: https://adoptopenjdk.net/releases.html?variant=openjdk8&jvmVariant=openj9#s390x_linux |
@joransiu that does look to have the JIT thanks
Still same JFFI error w/ J9 VM logstash -f /etc/logstash/conf.d -l /var/log/logstash --log.level=debug --path.settings=/etc/logstash
|
I found this issue: #18 that sounds related. Could you try the steps there? It suggests the libjffi libraries need to be rolled up into the jar? I'm not sure why... |
Hey @joransiu - tried it out. zip -g jruby-complete-9.1.13.0.jar /usr/local/jffi/build/jni/libjffi-1.2.so
Same error logstash -f /etc/logstash/conf.d -l /var/log/logstash --log.level=debug --path.settings=/etc/logstash
|
Hey @cwsolee I have pinged you the details of the clean machine. To assist in the recreate the command we are using to run logstash is :
I have also sent you the related config files |
@cwsolee Trying to run through the Logstash build process for a customer and the automated build script does look like it worked and I am able to run
logstash -v
however once I try to run it I am getting a missing library error for JFFIstrace : https://gist.github.com/bendermIBM/76cddd0fa7b8da087be723fa5c881cde
Could your team take a look? Let me know if you need access to the machine
The text was updated successfully, but these errors were encountered: