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
What is the latest version of logstash that supports JDK6 ? #4511
Comments
Hi @iyaozhen , we understand that some companies have very slow upgrade cycles, don't feel ashamed to ask! Unfortunately I'm not too sure which versions would work. That is really going to depend on the jruby version. The best advice I can give you is to just keep testing old versions till you find one that works, we haven't supported JDK6 for quite a while (and neither has Oracle). |
@iyaozhen I'm running a few LS v1.5.3 instances under JDK6 without issue. I did a bunch of testing a while back, and that was the last version I could find that would actually start under JDK6. |
@andrewvc and @jbehrends, Thx very much. But, LS v1.5.3 does't work too, maybe CentOS 4 latest support GLIBC_2.3.
|
@iyaozhen you might be able to solve that by building jruby (and it's FFI support) on the targets OS. That should hopefully solve the glibc versioning problems. (it's not a simple solution, but it should work) |
@iyaozhen (or, by building a newer glibc and using LD_LIBRARY_PATH to have java/jruby/ffi find the newer glibc?) |
@jordansissel I already try building glibc 2.4, and set LD_LIBRARY_PATH. But java runtime core. Just simple command ‘java -version’. Now, as you suggest, I try to building jruby. |
I building jruby and FFI support. I run logstash like this:
I just change logstash.lib.sh
Other information:
|
I give up logstash. But Filebeat (https://www.elastic.co/products/beats/filebeat) is work. Thank everybody who helped me. Thx elastic.co. "After endless mountains and rivers that leave doubt whether there is a path out, suddenly one encounters the shade of a willow, bright flowers and a lovely village." |
Glad you found filebeat applicable to your usecase. JDK6 is pretty old, so there will not be any support in LS. |
First, I'm very ashamed to ask this question. After all, this year is 2016. But I am helpless.
I test my program in my local system, but production environment system is 'CentOS release 4.3', can't install jdk7+, and I can't change It.
Same question: http://permalink.gmane.org/gmane.comp.sysutils.logstash.user/5627
I test logstash-1.4.0 in production environment on jdk6, can't work:
I set JAVA_OPTS="-Djava.io.tmpdir=/home/work/java_tmp" in bin/logstash script, but It is not work too.
Some other information:
The text was updated successfully, but these errors were encountered: