为什么同步进度那里 position 状态 :无信息
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
现在是一个数据库服务,分了6个数据库,分别向不同的服务器传输数据。对每一个服务器单独建立了一个canal,现在启动多了channel,就报错:
pid:9 nid:1 exception:canal:tdesk_test_canal:java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.otter.canal.common.utils.JsonUtils
at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.findStartPositionInternal(MysqlEventParser.java:415)
at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.findStartPosition(MysqlEventParser.java:315)
at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:161)
at java.lang.Thread.run(Thread.java:748)
发现在同步进度那里 position 状态 :无信息。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the stack trace in MysqlEventParser.java, especially findStartPositionInternal and findStartPosition, then inspect com.alibaba.otter.canal.common.utils.JsonUtils initialization. Reproduce the failure with multiple channels and verify that startup succeeds and the synchronization position no longer reports 无信息.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100