at org/jruby/RubyKernel.java:1439 initialize at /opt/module/hbase-2.0.5/lib/ruby/irb/hirb.rb:46
时间: 2023-09-30 14:07:04 浏览: 221
这个错误信息看起来像是 Ruby 代码中的一个异常,具体原因需要查看代码。从错误信息中可以看到,错误发生在 `org/jruby/RubyKernel.java` 文件的 `initialize` 方法(可能是被调用的方法),同时也提到了 `/opt/module/hbase-2.0.5/lib/ruby/irb/hirb.rb` 文件的第 46 行。你可以检查一下这个文件和方法,看看是否有语法错误或其他问题。同时,也可以考虑查看一下相关的日志文件,看看是否有其他的提示或错误信息。
相关问题
org.jruby.exceptions.SystemExit: (SystemExit) exit at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:790) ~[jruby.jar:?] at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:753) ~[jruby.jar:?] at C_3a_.logstash.logstash_minus_8_dot_8_dot_0.lib.bootstrap.environment.<main>(C:\logstash\logstash-8.8.0\lib\bootstrap\environment.rb:91) ~[?:?]
这个错误信息表明,在运行 logstash-8.8.0 工具时,程序执行到了 C:\logstash\logstash-8.8.0\lib\bootstrap\environment.rb 文件的第 91 行时,调用了 RubyKernel.exit 方法,导致程序退出。
根据错误信息,我们可以初步判断可能是 logstash-8.8.0 工具的某个组件或插件出现了问题,导致程序执行到了 exit 方法。建议你检查一下 logstash-8.8.0 的配置文件、插件以及相关组件,看看是否有错误配置或者异常情况导致程序出现问题。如果无法解决,可以尝试重新安装或者升级 logstash-8.8.0 工具。
An unexpected error occurred! {:error=>#<ArgumentError: Setting "" hasn't been registered>, :backtrace=>["/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:37:in `get_setting'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:70:in `set_value'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:89:in `block in merge'", "org/jruby/RubyHash.java:1343:in `each'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:89:in `merge'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:138:in `validate_all'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/runner.rb:279:in `execute'", "/opt/module/logstash-6.3.2/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/runner.rb:238:in `run'", "/opt/module/logstash-6.3.2/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/opt/module/logstash-6.3.2/lib/bootstrap/environment.rb:73:in `<main>'"]} An unexpected error occurred! {:error=>#<ArgumentError: Setting "" hasn't been registered>, :backtrace=>["/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:37:in `get_setting'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:70:in `set_value'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:89:in `block in merge'", "org/jruby/RubyHash.java:1343:in `each'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:89:in `merge'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/settings.rb:138:in `validate_all'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/runner.rb:279:in `execute'", "/opt/module/logstash-6.3.2/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/opt/module/logstash-6.3.2/logstash-core/lib/logstash/runner.rb:238:in `run'", "/opt/module/logstash-6.3.2/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/opt/module/logstash-6.3.2/lib/bootstrap/environment.rb:73:in `<main>'"]}
这个错误是由Logstash引起的,它指出某个设置(Setting)没有被注册。具体的错误信息是(ArgumentError: Setting "" hasn't been registered)。这个错误通常发生在Logstash的配置文件中,可能是由于配置文件中缺少了某个设置的值或者设置的名称有误导致的。你可以检查Logstash的配置文件,确保所有的设置都被正确地注册和赋予了值。如果你能提供更多的配置文件信息或者错误上下文,我可以更具体地帮助你解决这个问题。
阅读全文