当前位置:   article > 正文

canal 常见问题_canal出错

canal出错

https://blog.csdn.net/rainzqb/article/details/90408421

https://www.cnblogs.com/jice/p/11987909.html

 

 

16. 常见错误(https://www.cnblogs.com/shaozhiqi/p/11534658.html)

  1. 服务端:com.alibaba.otter.canal.parse.exception.CanalParseException: can't find start position for example
    是由于你改了配置文件,导致meta.dat 中保存的位点信息和数据库的位点信息不一致;导致canal抓取不到数据库的动作;
    解决方法:删除meta.dat删除,再重启canal,问题解决;
  2. 客户端:java.lang.OutOfMemoryError: Java heap space
    canal消费端挂了太久,在zk对应conf下节点的
    /otter/canal/destinations/test_db/1001/cursor 位点信息是很早以前,导致重启canal时,从很早以前的位点开始消费,导致canal服务器内存爆掉
  3. 服务端ERROR c.a.otter.canal.server.netty.handler.SessionHandler - something goes wrong with channel:[id: 0x0191aafd, /192.168.10.68:49502 => /192.168.10.68:11111], exception=java.io.IOException:
    当客户端停掉后,canal服务端会报此异常
    客户端:com.alibaba.otter.canal.protocol.exception.CanalClientException: something goes wrong with reason: something goes wrong with channel:[id: 0x01311037, /192.168.10.68:52086 => /192.168.10.68:11111], exception=com.alibaba.otter.canal.server.exception.CanalServerException: destination:example should start first
    当服务端停掉或者重启中,客户端连不上就会抛出此异常。场景修改了服务点的配置文件此时服务端会重启,客户端就会报次异常

 

CanalParseException: parse row data failed。CanalParseException: column size is not match for table:

https://blog.csdn.net/weixin_40126236/article/details/103928950

 

canal问题排查

https://blog.csdn.net/my201110lc/article/details/77885720

 

Canal重启问题

https://blog.csdn.net/qq_30228707/article/details/104824888

 

https://blog.csdn.net/Robin_hc/article/details/90600281

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号