Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't output data to Bigqueiry when the contents cotains Chinese #182

Open
MinghuiChen opened this issue Sep 19, 2019 · 0 comments
Open

Comments

@MinghuiChen
Copy link

I can't output data to Bigqueiry when the contents cotains Chinese  in WINDOWS。
Errors like these:

2019-09-19 13:17:25 +0800 [debug]: #0 taking back chunk for errors. chunk="592e1119616f5807079b362bfb2383f9"
2019-09-19 13:17:25 +0800 [warn]: #0 failed to flush the buffer. retry_time=0 next_retry_seconds=2019-09-19 13:17:26 +0800 chunk="592e1119616f5807079b362bfb2383f9" error_class=Encoding::CompatibilityError error="incompatible character encodings: ASCII-8BIT and UTF-8"
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient/http.rb:510:in dump' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient/http.rb:962:in dump'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb:510:in block in query' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/2.4.0/timeout.rb:93:in block in timeout'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/2.4.0/timeout.rb:103:in timeout' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb:508:in query'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb:174:in query' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient.rb:1240:in do_get_block'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient.rb:1017:in block in do_request' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient.rb:1131:in protect_keep_alive_disconnected'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient.rb:1012:in do_request' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient.rb:1102:in follow_redirect'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/httpclient-2.8.2.4/lib/httpclient.rb:852:in request' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/google-api-client-0.30.3/lib/google/apis/core/http_command.rb:302:in execute_once'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/google-api-client-0.30.3/lib/google/apis/core/http_command.rb:113:in block (2 levels) in execute' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:61:in block in retriable'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:56:in times' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:56:in retriable'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/google-api-client-0.30.3/lib/google/apis/core/http_command.rb:110:in block in execute' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:61:in block in retriable'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:56:in times' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:56:in retriable'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/google-api-client-0.30.3/lib/google/apis/core/http_command.rb:102:in execute' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/google-api-client-0.30.3/lib/google/apis/core/base_service.rb:360:in execute_or_queue_command'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/google-api-client-0.30.3/generated/google/apis/bigquery_v2/service.rb:1058:in insert_all_table_data' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-plugin-bigquery-2.2.0/lib/fluent/plugin/bigquery/writer.rb:85:in insert_rows'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-plugin-bigquery-2.2.0/lib/fluent/plugin/out_bigquery_insert.rb:99:in insert' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-plugin-bigquery-2.2.0/lib/fluent/plugin/out_bigquery_insert.rb:95:in write'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.7.0/lib/fluent/plugin/output.rb:1122:in try_flush' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.7.0/lib/fluent/plugin/output.rb:1428:in flush_thread_run'
2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.7.0/lib/fluent/plugin/output.rb:458:in block (2 levels) in start' 2019-09-19 13:17:25 +0800 [warn]: #0 C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.7.0/lib/fluent/plugin_helper/thread.rb:78:in block in thread_create'

This error only happened in Windows.Linux is OK.
Who can help me??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant