Jmx plugin 6.8 vs Fixnum/Bignum

Upgraded logstash from 5.6 to 6.8 and found that the jmx plugin complained like this:

/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-jmx-3.0.7/lib/
logstash/inputs/jmx.rb:178: warning: constant ::Fixnum is deprecated
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-jmx-3.0.7/lib/
logstash/inputs/jmx.rb:178: warning: constant ::Bignum is deprecated

Had to remove few former collected Mbeans to avoid this, Any clues why 6.8 plugin no longer supports these types?

Yeah, and when you get to 7.2 you also get 'Thread.exclusive is deprecated, use Thread::Mutex' when logstash starts.

The elastic team will need to clean these up, but they do no break anything at this point. They are just warning that some ruby features have been deprecated.

Hm just wondering why I had to remove few collectd mbeans with larger integer values to silent this, similar happened between es2 and es5 :confused:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.