Problem description
When I use Data Transmission Service (DTS) for change tracking, a similar error is reported:
2015-11-11 16:16:36,724 INFO [com.aliyun.drc.clusterclient.partition.PartitionPool] - client partition is empty,wait partition balance
2015-11-11 16:16:46,748 INFO [com.aliyun.drc.clusterclient.partition.PartitionPool] - client partition is empty,wait partition balance
2015-11-11 16:16:56,802 INFO [com.aliyun.drc.clusterclient.partition.PartitionPool] - start new partition: {"tables":["xxxx.*"],"topic":"aliyun_bj_ecs_rdsxxxxxxxx-1-0","guid":"dts_rdsxxxxxxxx_nSj","partition":{"name":"0f59329ace868558b1xxxxxxxx","gmt":1447229810},"offset":"::::1447229563:","group":"111111111111111"}
2015-11-11 16:08:34,933 ERROR [com.aliyun.drc.clusterclient.partition.PartitionPool] - keep alive error
java.net.ConnectException: Connection timed out
Cause
The context.setUsePublicIp(false);
parameter is set for the server that is used by the SDK.
Solution
Check whether the server that runs the SDK is configured with
context.setUsePublicIp(false);
. If this configuration exists, change the configuration tocontext.setUsePublicIp(true);
.If one change tracking task starts multiple clients and only one client consumes data, other clients are in the disaster recovery state.
Application scope
DTS