从zk上看01和04destinaton没有cursor目录 02和03有cursor目录但是不更新,重启了2次都是如此,我部署另外一个canal server实例的时候,没有报 TableIdNotFoundException,点位信息全部正常
启动的时候canal.canal.log有报错信息: 2018-09-13 23:46:59.156 [destination = ordercanalprd02 , address = /:3321 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /:3321 has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110
2018-09-13 23:46:59.109 [destination = ordercanalprd01 , address = /:3320 , EventParser] WARN c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - prepare to find start position ::1536827400000 2018-09-13 23:46:59.151 [destination = ordercanalprd03 , address = /:3322 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /:3322 has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:118 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:118* 2018-09-13 23:46:59.156 [destination = ordercanalprd02 , address = /:3321 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /:3321 has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 2018-09-13 23:46:59.203 [destination = ordercanalprd03 , address = /---:3322 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:ordercanalprd03[com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:118 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:118 ] 2018-09-13 23:46:59.204 [destination = ordercanalprd02 , address = /---:3321 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:ordercanalprd02[com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 ]
原提问者GitHub用户yin007008
我自查了一遍,估计这个错误是发生在 canal.destinations= 这个配置直接给空了 我把这个地方配上,然后slaveid按实例自增部署了其他28个destination都没有发生问题
我猜应该是启动过程中扫描destination和其他代码的先后顺序引发的问题
原回答者GitHub用户yin007008
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。