开发者社区> 问答> 正文

otter同步channel挂起,日志有异常,版本:otter4.2.18,aria2-1.17.1

pid:1 nid:3 exception:setl:com.google.common.collect.ComputationException: java.lang.NullPointerException at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:889) at com.alibaba.otter.canal.server.embedded.CanalServerWithEmbedded.start(CanalServerWithEmbedded.java:137) at com.alibaba.otter.node.etl.select.selector.canal.CanalEmbedSelector.start(CanalEmbedSelector.java:212) at com.alibaba.otter.node.etl.select.SelectTask.startup(SelectTask.java:170) at com.alibaba.otter.node.etl.select.SelectTask.run(SelectTask.java:126) Caused by: java.lang.NullPointerException at com.alibaba.otter.canal.instance.manager.CanalInstanceWithManager.doInitEventParser(CanalInstanceWithManager.java:337) at com.alibaba.otter.canal.instance.manager.CanalInstanceWithManager.initEventParser(CanalInstanceWithManager.java:261) at com.alibaba.otter.canal.instance.manager.CanalInstanceWithManager.(CanalInstanceWithManager.java:93) at com.alibaba.otter.node.etl.select.selector.canal.CanalEmbedSelector$1$1.(CanalEmbedSelector.java:145) at com.alibaba.otter.node.etl.select.selector.canal.CanalEmbedSelector$1.generate(CanalEmbedSelector.java:145) at com.alibaba.otter.canal.server.embedded.CanalServerWithEmbedded$1.apply(CanalServerWithEmbedded.java:85) at com.alibaba.otter.canal.server.embedded.CanalServerWithEmbedded$1.apply(CanalServerWithEmbedded.java:82) at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:356) at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:182) at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:151) at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:67) at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:885) ... 4 more

展开
收起
aaron_song 2021-12-09 21:47:45 1113 0
1 条回答
写回答
取消 提交回答
  • 搞了一天,基本上解决了 首先我换了一台服务器重新部署zookeeper 同时用客户端测试通过 重新安装了aria2, 数据同步正常 001.png

    感谢阿里提供这么好的框架,有用的朋友可以一起交流

    2021-12-10 17:03:15
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载