The requested URL was not found on this server. 不管你信不信,反正我是没找到

logstash 同步oracle带中文列名时报错

Logstash | 作者 moqipa | 发布于2018年07月09日 | 阅读数:2754

{ 2010 rufus-scheduler intercepted an error:
  2010   job:
  2010     Rufus::Scheduler::CronJob "* * * * *" {}
  2010   error:
  2010     2010
  2010     ArgumentError
  2010     invalid byte sequence in UTF-8
  2010       org/jruby/RubyString.java:4152:in `partition'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:581:in `block in placeholder_literal_string_sql_append'
  2010       org/jruby/RubyKernel.java:1292:in `loop'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:580:in `placeholder_literal_string_sql_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/sql.rb:96:in `to_s_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1161:in `literal_expression_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:89:in `literal_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1480:in `static_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:236:in `select_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/adapters/shared/oracle.rb:392:in `select_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:147:in `sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1493:in `subselect_sql_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1136:in `literal_dataset_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:109:in `literal_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:271:in `aliased_expression_sql_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/sql.rb:96:in `to_s_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1161:in `literal_expression_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:89:in `literal_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1029:in `identifier_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1039:in `block in identifier_list_append'
  2010       org/jruby/RubyArray.java:1734:in `each'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1037:in `identifier_list_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1451:in `source_list_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1320:in `select_from_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:243:in `select_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/adapters/shared/oracle.rb:420:in `select_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:147:in `sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1493:in `subselect_sql_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1136:in `literal_dataset_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:109:in `literal_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:271:in `aliased_expression_sql_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/sql.rb:96:in `to_s_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1161:in `literal_expression_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:89:in `literal_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1029:in `identifier_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1039:in `block in identifier_list_append'
  2010       org/jruby/RubyArray.java:1734:in `each'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1037:in `identifier_list_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1451:in `source_list_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1320:in `select_from_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:243:in `select_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/adapters/shared/oracle.rb:420:in `select_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:147:in `sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/sql.rb:1493:in `subselect_sql_append'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/adapters/shared/oracle.rb:417:in `select_sql'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/actions.rb:725:in `single_value!'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/dataset/actions.rb:109:in `count'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/sequel-5.7.1/lib/sequel/extensions/pagination.rb:58:in `each_page'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-jdbc-4.3.9/lib/logstash/plugin_mixins/jdbc.rb:251:in `perform_query'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-jdbc-4.3.9/lib/logstash/plugin_mixins/jdbc.rb:229:in `execute_statement'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-jdbc-4.3.9/lib/logstash/inputs/jdbc.rb:264:in `execute_query'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-jdbc-4.3.9/lib/logstash/inputs/jdbc.rb:245:in `block in run'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/rufus-scheduler-3.0.9/lib/rufus/scheduler/jobs.rb:234:in `do_call'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/rufus-scheduler-3.0.9/lib/rufus/scheduler/jobs.rb:258:in `do_trigger'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/rufus-scheduler-3.0.9/lib/rufus/scheduler/jobs.rb:300:in `block in start_work_thread'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/rufus-scheduler-3.0.9/lib/rufus/scheduler/jobs.rb:299:in `block in start_work_thread'
  2010       org/jruby/RubyKernel.java:1292:in `loop'
  2010       F:/resources/ES/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/rufus-scheduler-3.0.9/lib/rufus/scheduler/jobs.rb:289:in `block in start_work_thread'
  2010   tz:
  2010     ENV['TZ']:
  2010     Time.now: 2018-07-09 09:34:06 +0800
  2010   scheduler:
  2010     object_id: 2008
  2010     opts:
  2010       {:max_work_threads=>1}
  2010       frequency: 0.3
  2010       scheduler_lock: #<Rufus::Scheduler::NullLock:0x406e16b>
  2010       trigger_lock: #<Rufus::Scheduler::NullLock:0xef63cf>
  2010     uptime: 64.169 (1m4s177)
  2010     down?: false
  2010     threads: 2
  2010       thread: #<Thread:0x775fd90d>
  2010       thread_key: rufus_scheduler_2008
  2010       work_threads: 1
  2010         active: 1
  2010         vacant: 0
  2010         max_work_threads: 1
  2010       mutexes: {}
  2010     jobs: 1
  2010       at_jobs: 0
  2010       in_jobs: 0
  2010       every_jobs: 0
  2010       interval_jobs: 0
  2010       cron_jobs: 1
  2010     running_jobs: 1
  2010     work_queue: 0
} 2010 
.
有大佬知道什么问题吗?
已邀请:

要回复问题请先登录注册