OS version (uname -a if on a Unix-like system):
Linux eltp1.novalocal 4.18.0-383.el8.ppc64le
Description of the problem including expected versus actual behavior:
Followed the steps mentioned in readme file. While running bundle exec rspec command getting below errors on power architecture. Also, rake install_jars doesn't work. Do I need any other dependency installation which is not mentioned in readme for power architecture?
Provide logs (if relevant):
An error occurred while loading ./spec/check_docs_spec.rb.
Failure/Error: require_jar('io.confluent', 'kafka-avro-serializer', '5.5.1')
RuntimeError:
you might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command
no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1 (LoadError)
--- Caused by: ---
LoadError:
no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:353:in `do_require'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/logstash-core-5.6.4-java/lib/logstash/settings.rb:476: warning: constant ::Fixnum is deprecated
/usr/local/rvm/gems/jruby-9.2.9.0/gems/logstash-core-5.6.4-java/lib/logstash/settings.rb:480: warning: constant ::Fixnum is deprecated
/usr/local/rvm/gems/jruby-9.2.9.0/gems/logstash-core-5.6.4-java/lib/logstash/settings.rb:503: warning: constant ::Fixnum is deprecated
/usr/local/rvm/gems/jruby-9.2.9.0/gems/logstash-core-5.6.4-java/lib/logstash/settings.rb:507: warning: constant ::Fixnum is deprecated
--- jar coordinate com.fasterxml.jackson.core:jackson-annotations already loaded with version 2.9.1 - omit version 2.13.3
--- jar coordinate com.fasterxml.jackson.core:jackson-databind already loaded with version 2.9.1 - omit version 2.13.3
--- jar coordinate com.fasterxml.jackson.module:jackson-module-afterburner already loaded with version 2.9.1 - omit version 2.13.3
--- jar coordinate com.fasterxml.jackson.core:jackson-core already loaded with version 2.9.1 - omit version 2.13.3
Sending Logstash's logs to which is now configured via log4j2.properties
An error occurred while loading ./spec/integration/inputs/kafka_spec.rb.
Failure/Error: require_jar('io.confluent', 'kafka-avro-serializer', '5.5.1')
RuntimeError:
you might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command
no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1 (LoadError)
--- Caused by: ---
Polyglot::PolyglotLoadError:
Failed to load io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1.jar using extensions rb, treetop, tt
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:55:in `load'
Run options: exclude {:redis=>true, :socket=>true, :performance=>true, :couchdb=>true, :elasticsearch=>true, :elasticsearch_secure=>true, :export_cypher=>true, :integration=>true, :windows=>true}
All examples were filtered out
Finished in 0.00072 seconds (files took 3.29 seconds to load)
0 examples, 0 failures, 5 errors occurred outside of examples
[root@x006vm55 logstash-integration-kafka]# rake install_jars
rake aborted!
Don't know how to build task 'install_jars' (See the list of available tasks with rake --tasks)
(See full trace by running task with --trace)
[root@x006vm55 logstash-integration-kafka]# rake install_jars --trace
rake aborted!
Don't know how to build task 'install_jars' (See the list of available tasks with rake --tasks)
/usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/task_manager.rb:59:in []' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:159:ininvoke_task'
/usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:116:in block in top_level' org/jruby/RubyArray.java:1814:ineach'
/usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:116:in block in top_level' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:125:inrun_with_threads'
/usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:110:in top_level' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:83:inblock in run'
/usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:186:in standard_exception_handling' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:80:inrun'
/usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/exe/rake:27:in <main>' org/jruby/RubyKernel.java:1013:inload'
/usr/local/rvm/gems/jruby-9.2.9.0@global/bin/rake:23:in `'
OS version (
uname -a
if on a Unix-like system): Linux eltp1.novalocal 4.18.0-383.el8.ppc64leDescription of the problem including expected versus actual behavior: Followed the steps mentioned in readme file. While running bundle exec rspec command getting below errors on power architecture. Also, rake install_jars doesn't work. Do I need any other dependency installation which is not mentioned in readme for power architecture?
Provide logs (if relevant): An error occurred while loading ./spec/check_docs_spec.rb. Failure/Error: require_jar('io.confluent', 'kafka-avro-serializer', '5.5.1')
RuntimeError:
no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1 (LoadError)
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:356:in `do_require'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:265:in `block in require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:307:in `require_jar_with_block'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:264:in `require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:363:in `require_jar'
./lib/logstash-integration-kafka_jars.rb:4:in `'
./spec/check_docs_spec.rb:2:in `'
--- Caused by: --- LoadError: no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1 /usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:353:in `do_require' /usr/local/rvm/gems/jruby-9.2.9.0/gems/logstash-core-5.6.4-java/lib/logstash/settings.rb:476: warning: constant ::Fixnum is deprecated /usr/local/rvm/gems/jruby-9.2.9.0/gems/logstash-core-5.6.4-java/lib/logstash/settings.rb:480: warning: constant ::Fixnum is deprecated /usr/local/rvm/gems/jruby-9.2.9.0/gems/logstash-core-5.6.4-java/lib/logstash/settings.rb:503: warning: constant ::Fixnum is deprecated /usr/local/rvm/gems/jruby-9.2.9.0/gems/logstash-core-5.6.4-java/lib/logstash/settings.rb:507: warning: constant ::Fixnum is deprecated --- jar coordinate com.fasterxml.jackson.core:jackson-annotations already loaded with version 2.9.1 - omit version 2.13.3 --- jar coordinate com.fasterxml.jackson.core:jackson-databind already loaded with version 2.9.1 - omit version 2.13.3 --- jar coordinate com.fasterxml.jackson.module:jackson-module-afterburner already loaded with version 2.9.1 - omit version 2.13.3 --- jar coordinate com.fasterxml.jackson.core:jackson-core already loaded with version 2.9.1 - omit version 2.13.3 Sending Logstash's logs to which is now configured via log4j2.properties
An error occurred while loading ./spec/integration/inputs/kafka_spec.rb. Failure/Error: require_jar('io.confluent', 'kafka-avro-serializer', '5.5.1')
RuntimeError:
no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1 (LoadError)
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:356:in `do_require'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:265:in `block in require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:307:in `require_jar_with_block'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:264:in `require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:363:in `require_jar'
./lib/logstash-integration-kafka_jars.rb:4:in `'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
./lib/logstash/inputs/kafka.rb:5:in `'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
./spec/integration/inputs/kafka_spec.rb:3:in `'
--- Caused by: --- Polyglot::PolyglotLoadError: Failed to load io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1.jar using extensions rb, treetop, tt /usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:55:in `load'
An error occurred while loading ./spec/integration/outputs/kafka_spec.rb. Failure/Error: require_jar('io.confluent', 'kafka-avro-serializer', '5.5.1')
RuntimeError:
no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1 (LoadError)
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:356:in `do_require'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:265:in `block in require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:307:in `require_jar_with_block'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:264:in `require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:363:in `require_jar'
./lib/logstash-integration-kafka_jars.rb:4:in `'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
./lib/logstash/outputs/kafka.rb:4:in `'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
./spec/integration/outputs/kafka_spec.rb:4:in `'
--- Caused by: --- Polyglot::PolyglotLoadError: Failed to load io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1.jar using extensions rb, treetop, tt /usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:55:in `load'
An error occurred while loading ./spec/unit/inputs/kafka_spec.rb. Failure/Error: require_jar('io.confluent', 'kafka-avro-serializer', '5.5.1')
RuntimeError:
no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1 (LoadError)
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:356:in `do_require'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:265:in `block in require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:307:in `require_jar_with_block'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:264:in `require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:363:in `require_jar'
./lib/logstash-integration-kafka_jars.rb:4:in `'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
./lib/logstash/inputs/kafka.rb:5:in `'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
./spec/unit/inputs/kafka_spec.rb:3:in `'
--- Caused by: --- Polyglot::PolyglotLoadError: Failed to load io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1.jar using extensions rb, treetop, tt /usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:55:in `load'
An error occurred while loading ./spec/unit/outputs/kafka_spec.rb. Failure/Error: require_jar('io.confluent', 'kafka-avro-serializer', '5.5.1')
RuntimeError:
no such file to load -- io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1 (LoadError)
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:356:in `do_require'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:265:in `block in require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:307:in `require_jar_with_block'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:264:in `require_jar'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/jar-dependencies-0.4.1/lib/jar_dependencies.rb:363:in `require_jar'
./lib/logstash-integration-kafka_jars.rb:4:in `'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
./lib/logstash/outputs/kafka.rb:4:in `'
/usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
./spec/unit/outputs/kafka_spec.rb:3:in `'
--- Caused by: --- Polyglot::PolyglotLoadError: Failed to load io/confluent/kafka-avro-serializer/5.5.1/kafka-avro-serializer-5.5.1.jar using extensions rb, treetop, tt /usr/local/rvm/gems/jruby-9.2.9.0/gems/polyglot-0.3.5/lib/polyglot.rb:55:in `load' Run options: exclude {:redis=>true, :socket=>true, :performance=>true, :couchdb=>true, :elasticsearch=>true, :elasticsearch_secure=>true, :export_cypher=>true, :integration=>true, :windows=>true}
All examples were filtered out
Finished in 0.00072 seconds (files took 3.29 seconds to load) 0 examples, 0 failures, 5 errors occurred outside of examples
[root@x006vm55 logstash-integration-kafka]# rake install_jars rake aborted! Don't know how to build task 'install_jars' (See the list of available tasks with
rake --tasks
)(See full trace by running task with --trace) [root@x006vm55 logstash-integration-kafka]# rake install_jars --trace rake aborted! Don't know how to build task 'install_jars' (See the list of available tasks with'
rake --tasks
) /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/task_manager.rb:59:in[]' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:159:in
invoke_task' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:116:inblock in top_level' org/jruby/RubyArray.java:1814:in
each' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:116:inblock in top_level' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:125:in
run_with_threads' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:110:intop_level' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:83:in
block in run' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:186:instandard_exception_handling' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/application.rb:80:in
run' /usr/local/rvm/rubies/jruby-9.2.9.0/lib/ruby/gems/shared/gems/rake-13.0.6/exe/rake:27:in<main>' org/jruby/RubyKernel.java:1013:in
load' /usr/local/rvm/gems/jruby-9.2.9.0@global/bin/rake:23:in `