zoukankan      html  css  js  c++  java
  • canal报错:c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy

    c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - prepare to find start position just show master status

    2018-12-27 08:39:49.808 [destination = example , address = /127.0.0.1:3308 , EventParser] WARN c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - prepare to find start position just show master status
    2018-12-27 08:42:17.375 [destination = example , address = /127.0.0.1:3308 , EventParser] WARN c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - find start position : EntryPosition[included=false,journalName=mysql-bin.000036,position=75387792,serverId=1,gtid=<null>,timestamp=1545871169000]
    2018-12-27 08:42:17.378 [destination = example , address = /127.0.0.1:3308 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /127.0.0.1:3308 has an error, retrying. caused by
    java.lang.IllegalArgumentException: null
    at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1310) ~[na:1.7.0_67]
    at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1233) ~[na:1.7.0_67]
    at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:114) ~[na:1.7.0_67]
    at com.alibaba.otter.canal.parse.inbound.mysql.MysqlMultiStageCoprocessor.start(MysqlMultiStageCoprocessor.java:84) ~[canal.parse-1.1.0.jar:na]
    at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:238) ~[canal.parse-1.1.0.jar:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67]
    2018-12-27 08:42:17.379 [destination = example , address = /127.0.0.1:3308 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:example[java.lang.IllegalArgumentException
    at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1310)
    at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1233)
    at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:114)
    at com.alibaba.otter.canal.parse.inbound.mysql.MysqlMultiStageCoprocessor.start(MysqlMultiStageCoprocessor.java:84)
    at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:238)
    at java.lang.Thread.run(Thread.java:745)

    更改源库数据时候canal日志中打印上述错误,原因是由于CPU的问题

    解决办法:

    找到canal/conf/canal.properties 文件,找到设置   

    canal.instance.parser.parallelThreadSize = 16

    把这个设置数设置大一些,如果是注释状态要放开;

  • 相关阅读:
    HDU 4865 Peter's Hobby --概率DP
    UVALive 6093 Emergency Room --优先队列实现的模拟
    UVALive 6665 Dragon’s Cruller --BFS,类八数码问题
    UVALive 6092 Catching Shade in Flatland --枚举+几何计算
    UVALive 6168 Fat Ninjas --二分小数+搜索
    九连环-递归解法
    一道题看bitset应用 --ZOJ 3642
    UVALive 6663 Count the Regions --离散化+DFS染色
    ZOJ 1111 Poker Hands --复杂模拟
    UVALive 6449 IQ Test --高斯消元?
  • 原文地址:https://www.cnblogs.com/whywy/p/12657998.html
Copyright © 2011-2022 走看看