You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/03/31 17:37:21 UTC
[GitHub] [rocketmq-externals] imaffe commented on issue #540:
[rocketmq-connect-runtime] possible enhancements recorder
imaffe commented on issue #540: [rocketmq-connect-runtime] possible enhancements recorder
URL: https://github.com/apache/rocketmq-externals/issues/540#issuecomment-606771130
Trying to debug why rebalance service is trying to create new task with a deleted task configuration for both source and sink connectors.
```
020-04-01 01:35:53 INFO RebalanceService - Allocated connector:{jdbc-source-connector=ConnectKeyValue{properties={dbPort=3306, mode=bulk, source-record-converter=org.apache.rocketmq.connect.runtime.converter.JsonConverter, dbUsername=root, whiteDataBase={"jdbc":{"person":{"NO-FILTER":"10"}}}, connector-class=org.apache.rocketmq.connect.jdbc.connector.JdbcSourceConnector, rocketmqTopic=jdbcTopic, dbUrl=127.0.0.1, update-timestamp=1585673844225, dbPassword=root}}, cassandra-sink-connector=ConnectKeyValue{properties={dbPort=9042, mode=bulk, source-record-converter=org.apache.rocketmq.connect.runtime.converter.JsonConverter, dbUsername=cassandra, source-cluster=127.0.0.1, connector-class=org.apache.rocketmq.connect.cassandra.connector.CassandraSinkConnector, source-rocketmq=127.0.0.1:9876, rocketmqTopic=jdbcTopic, dbUrl=127.0.0.1, update-timestamp=1585673844285, dbPassword=cassandra}}}
2020-04-01 01:35:53 INFO RebalanceService - Allocated task:{jdbc-source-connector=[ConnectKeyValue{properties={update-timestamp=1585672986959, config-deleted=1}}], cassandra-sink-connector=[ConnectKeyValue{properties={update-timestamp=1585672986959, config-deleted=1}}]}
2020-04-01 01:35:53 INFO RebalanceService - Add new tasks,connector name jdbc-source-connector, config ConnectKeyValue{properties={update-timestamp=1585672986959, config-deleted=1}}
2020-04-01 01:35:53 INFO RebalanceService - Add new tasks,connector name cassandra-sink-connector, config ConnectKeyValue{properties={update-timestamp=1585672986959, config-deleted=1}}
2020-04-01 01:35:53 ERROR RebalanceService - RebalanceImpl#updateProcessConfigsInRebalance start connector or task failed
java.lang.NullPointerException: null
at java.lang.Class.forName0(Native Method) ~[na:1.8.0_242]
at java.lang.Class.forName(Class.java:264) ~[na:1.8.0_242]
at org.apache.rocketmq.connect.runtime.connectorwrapper.Worker.startTasks(Worker.java:279) ~[rocketmq-connect-runtime-0.0.1-SNAPSHOT.jar:na]
at org.apache.rocketmq.connect.runtime.service.RebalanceImpl.updateProcessConfigsInRebalance(RebalanceImpl.java:100) [rocketmq-connect-runtime-0.0.1-SNAPSHOT.jar:na]
at org.apache.rocketmq.connect.runtime.service.RebalanceImpl.doRebalance(RebalanceImpl.java:88) [rocketmq-connect-runtime-0.0.1-SNAPSHOT.jar:na]
at org.apache.rocketmq.connect.runtime.service.RebalanceService.run(RebalanceService.java:63) [rocketmq-connect-runtime-0.0.1-SNAPSHOT.jar:na]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242]
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services