lixiaopeng11 opened a new issue #5691:
URL: https://github.com/apache/incubator-doris/issues/5691
从ES 到 doris 导入报错:
报错内容:
Failed to flush outgoing items {:outgoing_count=>12234,
:exception=>"TypeError", :backtrace=>["org/jruby/RubyString.java:2688:in `<<'",
"/usr/elk/logstash-7.12.0/vendor/local_gems/a42e2379/logstash-output-doris-0.1.0/lib/logstash/outputs/doris.rb:179:in
`block in flush'", "org/jruby/RubyArray.java:1809:in `each'",
"/usr/elk/logstash-7.12.0/vendor/local_gems/a42e2379/logstash-output-doris-0.1.0/lib/logstash/outputs/doris.rb:178:in
`flush'",
"/usr/elk/logstash-7.12.0/vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/lib/stud/buffer.rb:219:in
`block in buffer_flush'", "org/jruby/RubyHash.java:1415:in `each'",
"/usr/elk/logstash-7.12.0/vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/lib/stud/buffer.rb:216:in
`buffer_flush'",
"/usr/elk/logstash-7.12.0/vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/lib/stud/buffer.rb:112:in
`block in buffer_initialize'", "org/jruby/RubyKernel.java:1442:in `loop'",
"/usr/elk/logstash-7.12.0/vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/lib/stud/buffer.rb:110:in
`block in b
uffer_initialize'"]}
配置信息:
input{
elasticsearch {
hosts => "172.17.222.84:9200"
index =>
"xtools_clean_mmmaster_lite_android_detail_report_2_2021_04_20"
size => 10000
scroll => "1m"
docinfo => true
user => "elastic"
password => "L%k@%q7v%nOcf"
}
}
filter {
mutate {
remove_field => ["@timestamp", "@version"]
}
}
output {
doris {
http_hosts => [ "http://172.17.222.205:8030" ]
user => root
codec => line {
format =>
"2021_04_18,1,45,%{device_id},%{loaded},%{impression},%{clicked},%{request},%{time}"
}
password => "vydPuEG*x&TAH5hT"
db => "roi_report"
table => "detail_report_2_test4"
label_prefix =>
"qianhuan_wifi_key_android_detail_report_2_2021_04_18_03"
column_separator => ","
}
file {
codec => line {
format =>
"2021_04_18,1,45,%{device_id},%{loaded},%{impression},%{clicked},%{request},%{time}"
}
path => "/usr/elk/logstash-7.12.0/a.log"
}
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]