当我尝试使用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:increate'", "/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:inblock 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:inflush'", "/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:inbuffer_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:inblock in multi_receive'", "org/jruby/RubyArray.java:1734:in
每个“”, “ /var/logstash-6.2.4/logstash-core/lib/logstash/outputs/base.rb:92:inmulti_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:inmulti_receive'", "/var/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:477:in
块output_batch'“,” org / jruby / RubyHash.java:1343:ineach'", "/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:inworker_loop'", "/var/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:386:in
阻止start_workers'“}}
如果有人能提供一些意见,我将非常感谢。
谢谢