全部产品
云市场

failed to get master store addr for topic aliyun_sz_ecs_rdsrafeeyrafeey-1-0错误

更新时间:2019-04-01 22:08:00

使用数据订阅功能订阅数据的时候报错了,报错如下

failed to get master store addr for topic aliyun_sz_ecs_rdsr*y-1-0错误。

 

数据订阅有一个前提

usePublicIp=true,确认不是这个问题后接着排查

 

详细报错

0    [Thread-1] INFO  com.aliyun.drc.clusterclient.partition.PartitionPool  - client partition is empty,wait partition balance
10035 [Thread-1] INFO  com.aliyun.drc.clusterclient.partition.PartitionPool  - client partition is empty,wait partition balance
20087 [Thread-1] INFO  com.aliyun.drc.clusterclient.partition.PartitionPool  - start new partition: {"tables":["sdp_db."],"topic":"aliyun_sz_ecs_rdsraey-1-0","guid":"dts_rdsraey_XNG","partition":{"name":"cb3999be97c2552477c2c298cb8339f1","gmt":1451272165},"offset":"16843009:1:188:21363830:1451012406:511","group":"31137122"}
20229 [Thread-1] ERROR com.aliyun.drc.clusterclient.partition.PartitionPool  - keep alive error
com.aliyun.drc.client.HttpBadResponseException: java.lang.Exception: failed to get master store addr for topic aliyun_sz_ecs_rds**ey-1-0
  at com.aliyun.drc.client.impl.ServerProxy.askStore(ServerProxy.java:247)
  at com.aliyun.drc.client.impl.ClusterManagers.findStore(ClusterManagers.java:105)
  at com.aliyun.drc.client.impl.DRCClientImpl.connectClusterManager(DRCClientImpl.java:320)
  at com.aliyun.drc.client.impl.DRCClientImpl.startService(DRCClientImpl.java:572)
  at com.aliyun.drc.clusterclient.impl.ClientCluster.doStart(ClientCluster.java:128)
  at com.aliyun.drc.clusterclient.partition.PartitionPool.keepAlive(PartitionPool.java:140)
  at com.aliyun.drc.clusterclient.partition.PartitionPool.run(PartitionPool.java:168)

 

检查一下位点,一般位点太早没有数据,容易导致报错

"offset":"16843009:1:188:21363830:1451012406:511",

 

1451012406转换后是2015-12-25 11:0:06

将位点调整成当天的即可,具体修改方法详见 修改订阅通道消费位点



如果问题还未能解决,请联系售后技术支持