Logstash WebHDFS IO错误:无法刷新传出项目{:outgoing_count => 1000,:exception =>“ WebHDFS :: IOError”

时间:2019-06-26 12:45:23

标签: logstash logstash-configuration

当我尝试使用webhdfs插件将日志归档到hdfs时,出现以下错误。有谁知道发生了什么事以及如何解决?

  

[logstash.outputs.webhdfs]无法刷新外发项目   {:outgoing_count => 1000,:exception =>“ WebHDFS :: IOError”,   :backtrace => [“ / var / logstash-6.2.4 / vendor / bundle / jruby / 2.3.0 / gems / webhdfs-0.8.0 / lib / webhdfs / client_v1.rb:401:in   request'", "/var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/webhdfs-0.8.0/lib/webhdfs/client_v1.rb:270:in operate_requests'“,   “ /var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/webhdfs-0.8.0/lib/webhdfs/client_v1.rb:73:in   create'", "/var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-webhdfs-3.0.6/lib/logstash/outputs/webhdfs.rb:228:in write_data'“,   “ /var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-webhdfs-3.0.6/lib/logstash/outputs/webhdfs.rb:211:in   block in flush'", "org/jruby/RubyHash.java:1343:in每个“”,   “ /var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-webhdfs-3.0.6/lib/logstash/outputs/webhdfs.rb:199:in   flush'", "/var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/buffer.rb:219:in 在buffer_flush中阻止'“,” org / jruby / RubyHash.java:1343:在each'", "/var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/buffer.rb:216:in buffer_flush'“中,   “ /var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/buffer.rb:159:in   buffer_receive'", "/var/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-webhdfs-3.0.6/lib/logstash/outputs/webhdfs.rb:182:in 收到“”,   “ /var/logstash-6.2.4/logstash-core/lib/logstash/outputs/base.rb:92:in   block in multi_receive'", "org/jruby/RubyArray.java:1734:in每个“”,   “ /var/logstash-6.2.4/logstash-core/lib/logstash/outputs/base.rb:92:in   multi_receive'", "/var/logstash-6.2.4/logstash-core/lib/logstash/output_delegator_strategies/legacy.rb:22:in multi_receive'“,   “ /var/logstash-6.2.4/logstash-core/lib/logstash/output_delegator.rb:49:in   multi_receive'", "/var/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:477:in 块output_batch'“,” org / jruby / RubyHash.java:1343:in each'", "/var/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:476:in output_batch'“,   “ /var/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:428:in   worker_loop'", "/var/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:386:in 阻止start_workers'“}}

如果有人能提供一些意见,我将非常感谢。

谢谢

0 个答案:

没有答案