-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
JRuby fails to load on ppc64le #10755
Comments
@mew2057 have you seen this on logstash 6.x.x versions too? I see it on 6.7 at least |
The last level we worked with on our ppc64le machines was 6.3.1, which didn't present the error. We were waiting for the 7.0.0 version before updating for the feature add. |
JRuby folks are willing to help figure this out, but without access to a PPC environment it's very difficult for us to investigate. Perhaps you can suggest a PPC cloud or similar environment we could use? |
I had the same error with jruby-complete-9.2.8.0.jar on Redhat 8.0 ppc64le (IBM POWER9). It was fixed by copying the missing platform.conf from types.conf, as suggested above. Thanks. For the folks new to this, I summarized what I tested here. |
I've just fixed the issue with this script: I have now logstash 7.3.2 in a Raspberry Pi 4 with Buster 🎉 |
With the 7.9.0 release of Logstash, we believe this class of error should have been fixed. We have not tested on this particular hardware, and would appreciate any updates to the status of this issue and whether the issue is still present. This appeared to have been caused by jruby/jruby#6219, where during ffi loading platform configuration files, an unhandled NPE would be thrown, rather than the handled file NotFound when attempting to load platform.conf, resulting in the error shown here. This was fixed by this commit, included in the version of jruby shipped with logstash 7.9.0 |
Hi, just hit this issue with Machine is |
The following is a reproduction of the issue on the jruby issue tracker
I wrote a patch script to repair the jar for our environment.
Environment
jruby-complete-9.2.7.0.jar
)Other relevant info you may wish to add:
Expected Behavior
environment.rb
JRuby should load all modules without exiting execution.Actual Behavior
Resolution
I was able to trace the bug to
jruby/lib/ruby/stdlib/ffi/platform/powerpc64-linux/
. It looksas though the
platform.conf
file was not created for this platform. Copying thetypes.conf
file toplatform.conf
appears to resolve the problem.The text was updated successfully, but these errors were encountered: