本文介绍配置任务和任务运行时系统返回的报错信息(如重试信息或错误码)以及解决方法。
数据传输服务DTS(DataTransmissionService)常见报错的类型有如下四种:
报错场景:购买DTS实例时创建订单不成功。
可能原因:未将UID添加至白名单,无法购买跨境同步实例。
报错场景:配置目标库实例的接入方式为专线/VPN网关/智能网关的Kafka同步或迁移任务。
可能原因:IP地址一栏输入为域名形式。
解决方法:IP地址一栏目前仅支持IP地址形式,请重新输入正确的内网IP地址。
报错场景:配置目标库为ECS自建的Kafka任务。
可能原因:不支持Kafka节点配置为域名形式。
解决方法:请正确配置Kafka节点。配置形式如下:
listeners=协议://内网IP:端口advertised_listeners=协议://内网IP:端口DTS.Msg.OperationDenied.JobStatusModifying报错场景:使用API调用ModifyDtsJob接口修改同步任务。
可能原因:当前任务所属实例处于修改同步对象阶段。
解决方法:等待同步对象修改完成,且该任务所属实例的状态为运行中后再重试。
报错场景:跨账号同步时,单击展示数据库实例。
可能原因:源数据库实例所属的阿里云用户ID填写不规范。
解决方法:填写规范的阿里云账号。
报错场景:配置源或目标库为SQLServer数据库的任务时。
可能原因:实例已配置过DTS任务或为克隆实例。
报错场景:配置跨地域迁移任务。
可能原因:源数据库实例未开通公网地址。
解决方法:请为源数据库实例开通公网地址或使用同步任务。
报错场景:重复配置任务。
可能原因:重复配置已启动的同步任务。
解决方法:请重置任务或修改同步对象。
重置任务会导致已配置的任务数据被清除,请谨慎操作。
报错场景:使用任何功能都可能报此错误。
可能原因:当前接口请求次数已经达到阈值。
解决方法:请在15s~30s后重新发起请求。
报错场景:购买DTS实例时,创建订单不成功。
可能原因:调用API时填写的购买参数错误或暂不支持购买此类型实例。
报错场景:购买DTS实例时,支付订单不成功。
可能原因:账户余额不足,无法完成支付。
解决方法:请充值后重试。
报错场景:使用修改同步对象功能。
可能原因:同步任务尚未配置。
解决方法:请在修改任务前完成配置任务。
报错场景:配置PolarDB-X云原生分布式数据库(原DRDS)的同步任务时报错。报错信息类似于以下形式:
cannotgetTableTopology(drds****,ib_ibos****)Couldnotconnecttoaddress=(host=100.100.XX.XX)(port=****)(type=master):(conn=****)[10.0.1.1:3306]Accessdeniedforuser'ib_ibos****'@'100.104.XX.XX'todatabase'ib_ibos****')可能原因:输入的数据库账号缺少某个库的权限。
解决方法:手动添加或修改库权限。步骤如下:
报错场景:获取源数据库列信息失败,常见于目标库为云原生数据仓库AnalyticDBMySQL版的任务。
可能原因:源库列过多或源库读取速度过慢,导致获取源库Schema超时。
解决方法:
报错场景:测试链接通过后获取源库库表。
可能原因:源库过多、源库表过多或者源库读取速度过慢,导致获取源库Schema超时。
报错场景:配置源库为PolarDB-X云原生分布式数据库(原DRDS)的任务。
可能原因:PolarDB-X云原生分布式数据库客户端版本过低。
解决方法:升级PolarDB-X云原生分布式数据库客户端。
可能原因:源数据库实例为实例类型是只读实例的PolarDB-X实例,暂不支持该PolarDB-X实例。
解决方法:源数据库更换为实例类型是主实例的PolarDB-X实例。
可能原因:源数据库实例为存储类型是POLARDB的PolarDB-X实例,暂不支持该PolarDB-X实例。
解决方法:源数据库更换为存储类型是RDSMySQL的PolarDB-X实例。
报错场景:调用API接口启动任务失败。
可能原因:启动尚未购买的任务。
解决方法:购买任务后再启动。
报错场景:配置任务过程中。
可能原因:由于系统无法连接任务运行的服务器节点,导致无法检测服务器节点到源或目标库的网络是否通畅。
可能原因:逻辑上需要暂停任务时,系统无法连接任务运行的服务器节点。
可能原因:通讯链路故障,JDBC驱动程序数据包成功发送到源数据库服务器,但未收到来自源数据库的数据包。
可能原因:获取源数据库链接被拒绝。
报错场景:配置目标库Kafka实例的版本为1.0及以上。
可能原因1:数据库账号或密码错误。
解决方法1:请正确填写数据库账号和密码信息。若Kafka实例未开启验证,则无需填写数据库账号和密码。
可能原因2:无法从Kafka服务端获取MetaInfo。
解决方法2:
报错场景:配置源库或目标库为分片副本集的MongoDb数据库的任务。
可能原因:无法获取分片信息。
解决方法:检查配置参数,确认数据库确实为分片MongoDb。
报错场景:暂停任务或者批量暂停任务。
可能原因:为避免数据不一致,当任务处于修改同步对象中时,无法暂停任务。
报错场景:修改暂停中任务的同步对象。
可能原因:为避免数据不一致,当任务的运行状态为运行中时,才可以修改同步对象。
解决方法:启动任务,等待任务正常运行再修改同步对象。
若任务延迟大于10分钟,请勿进行修改同步对象操作。
报错场景:配置任务后支付订单失败。
可能原因:有POC标签的账号的订单支付金额只能是0,订单的金额大于0时无法支付。
可能原因:未开通阿里云资金账户或者账户余额不足。
解决方法:给账户充值以开通阿里云资金账户,并确认余额充足,然后重新购买。
报错场景:使用API配置任务时。
可能原因:未配置任务类型,即传入字段StructureInitialization、DataInitialization、DataSynchronization的值均为false。
解决方法:传入正确的参数值以配置任务类型。
可能原因:传入的DbList字段不是标准的JSON字符串。
解决方法:传入正确形式的字符串参数。
可能原因:传入的Reserve字段不是标准的JSON字符串。
报错场景:以先购买再配置的方式,购买源库为分布式数据库的同步实例时。
可能原因:购买实例的源数据库参数分布式数据库节点数量与实际数量不符。
解决方法:购买实例时选择与实际相符的分布式数据库节点数量。
报错场景:对实例进行升降配或者转换支付方式时。
目前实例降配功能正在灰度内测中,仅部分用户可以使用。
可能原因1:操作的实例为已完成但未释放短期实例。
解决方法1:释放已完成的短期实例。
可能原因2:操作的实例已经释放但仍然在控制台上显示。
报错场景:配置任务时勾选了SSL安全连接。
可能原因:当前数据库实例未开通SSL连接,无SSL地址。
解决方法:给数据库实例开通SSL或者选择非加密连接。
报错场景:修改已购买的同步或迁移实例的性能时。
可能原因:当前任务状态不是运行中。
解决方法:请确保任务在运行中再进行操作。
报错场景:用户对实例进行降配操作时。
可能原因:执行降配操作的账号权限不足。
报错场景:为订阅实例创建消费组时。
可能原因:当前订阅实例的消费组已经超过20个。
解决方法:请根据业务需求删除不使用的消费组后重试。
报错场景:配置DTS任务过程中。
可能原因:偶发性错误。
可能原因:传入的DbList字段为null或传入的内容等效于null。
报错场景:配置源或目标实例为Redis的任务时。
可能原因:选择的实例模式与实例不符。
解决方法:选择与实例相符的实例模式。
可能原因:传入的目标实例地域错误或不支持。
可能原因:传入的源实例地域错误或不支持。
可能原因:DTS会在部分类型的源端数据库中创建一个固定的高权限账号,若您的数据库已经存在了同名的账号则会报错。
报错场景:使用ModifyDtsJob接口修改任务时。
可能原因:传入的DtsInstanceId参数为迁移实例的ID。
解决方法:当前迁移任务仅支持在控制台修改ETL配置,若您需要修改迁移任务的其他配置,您可以创建新任务。
报错场景:使用API释放DTS任务时。
可能原因:包年包月(预付费)任务不支持直接释放。
可能原因:RAM用户(子账号)权限不足。
创建自定义策略填入具体权限策略信息时,需要使用错误提示信息中的Action(接口操作名称)和ResourcedId(DTS实例ID)。
报错场景:配置数据源为ECS自建数据库的任务时。
可能原因:ECS实例的安全组超过五个。
若由于业务需求安全组均无法移出,请整合ECS实例的安全组,使安全组数量不超过五个。
报错场景:体验RPS上限升级功能时。
可能原因:当前账号体验RPS上限升级功能的次数已经超过了限制。每个账号有3次体验机会,每次体验持续24小时。
解决方法:无。
可能原因:DTS实例已在体验RPS上限升级功能中,不能重复体验。
可能原因:DTS实例没有RPS限制,不能体验RPS上限升级功能。
可能原因:DTS实例状态不能体验RPS上限升级功能,仅运行中、已暂停或失败状态时支持体验此功能。
可能原因:传入的任务ID不正确或者任务已经被删除。
解决方法:传入正确的参数后重试。
报错场景:配置接入方式为公网IP、专线/VPN网关/智能网关或云企业网CEN的数据库实例的DTS任务时。
可能原因:输入的IP地址格式错误,导致无法解析。
解决方法:输入正确的IP地址后重试。
报错场景:暂停任务时。
可能原因:需要暂停的任务状态不是运行中(如失败、已暂停或者初始化中)。
解决方法:修复或等待任务状态为运行中时,再暂停任务。
报错场景:修改实例增量写入阶段的位点时。
可能原因:指定的位点不在可修改范围内。
解决方法:在可修改的范围内修改位点。
可能原因:修改的值不在取值范围内(10~1440分钟)。
报错场景:DTS公共集群(共享集群)实例迁移到专属集群时。
可能原因:公共集群(共享集群)实例的源库和目标库地域不一致,暂不支持跨地域任务迁移到专属集群。
可能原因:公共集群(共享集群)实例所属地域与专属集群的地域不一致,目前仅支持将公共集群(共享集群)任务迁移至同一地域的专属集群。
报错场景:配置DTS任务时。
可能原因:调用其他云产品的OpenAPI时遇到问题。
解决方法:请根据报错中的CloudProduct、ErrCode和ErrMsg等信息,查看原因和解决方法。
报错场景:配置源库为MongoDB的任务时。
可能原因:执行MongoDB命令时遇到问题。
解决方法:请根据执行的命令和具体报错信息,在MongoDB官方文档中查询解决方案。
报错场景:使用API配置源或目标库为Redis的任务时。
可能原因:DTS不支持经典网络的ECS自建的集群版Redis实例。
可能原因:DTS不支持当前小版本的Redis实例。
报错场景:使用API查询DTS实例详情时。
可能原因:当前DTS实例不存在。
报错场景:使用API修改DTS全量或增量速率时。
可能原因:当前DTS任务对应的实例没有购买,无法调整速率。
解决方法:请购买DTS实例后再进行修改。
报错场景:使用API查询性能监控数据时。
可能原因:当前类型的任务不支持查询性能监控的数据。
报错场景:在源或目标库执行MySQL命令时。
可能原因:执行MySQL命令时遇到问题。
解决方法:请根据执行的命令和具体报错信息,在MySQL官方文档中查询解决方案。
报错场景:调整任务速率时。
可能原因:网络波动导致调整任务速率失败。
解决方法:请重新调整任务速率。
可能原因:DTS获取VPC实例时遇到问题。
解决方法:请根据具体报错信息,在专有网络VPC官方文档中查询解决方案。
报错场景:查询任务详情时。
可能原因:查询资源组遇到问题。
解决方法:请重新查询。
报错场景:查询任务日志信息时。
可能原因:DTS获取DG实例时遇到问题。
解决方法:请根据具体报错信息,在数据库网关DG官方文档中查询解决方案。
报错场景:跳过全量迁移模块的表时。
可能原因:跳过表时遇到问题。
解决方法:请重新操作。
可能原因:DTS获取CEN实例时遇到问题。
解决方法:请根据具体报错信息,在云企业网CEN官方文档中查询解决方案。
报错场景:配置源或目标端为数据库网关DG接入的实例时。
可能原因:DTS查询数据库网关DG实例时遇到未知错误。
可能原因:执行SQL命令时遇到问题。
解决方法:请根据执行的命令和具体报错信息,在SQLServer官方文档中查询解决方案。
报错场景:修改同步任务的同步对象时。
可能原因:传入同步对象参数的格式不正确。
解决方法:请确保同步对象的参数正确,然后重新操作。
报错场景:配置源或目标端为云数据库RDS实例时。
可能原因:DTS查询RDS实例网络信息时遇到未知错误。
报错场景:配置源或目标端为PolarDB实例(PolarDBMySQL引擎、PolarDBO引擎、PolarDBPostgreSQL引擎、PolarDB-X)时。
可能原因:DTS查询PolarDB实例信息时遇到未知错误。
可能原因:数据库网关DG实例不存在。
报错场景:配置源或目标端为MongoDB实例时。
可能原因:DTS查询MongoDB实例信息时遇到未知错误。
可能原因:修改同步对象过程中遇到未知错误。
报错场景:修改任务的位点时。
可能原因:传入的新位点为空。
解决方法:请检查新位点的参数值,并在可修改的范围内修改位点。
可能原因:数据库实例不存在。
可能原因:由于DTS不支持当前Elasticsearch实例,导致查询Elasticsearch实例网络信息遇到未知错误。
报错场景:配置SQLServer物理协议迁移任务时。
可能原因:调用DBS接口遇到错误。
解决方法:请根据DBS接口错误信息排查。
报错场景:启动、暂停、停止任务时。
可能原因:系统暂时不可用。
解决方法:请稍后重试。
可能原因:端口参数无效。
解决方法:请填入正确的端口参数值。
报错场景:修改同步对象时。
可能原因:当前任务不是同步任务。
解决方法:请检查当前任务是否为同步任务,仅同步任务支持修改同步对象。
可能原因:当前任务存在不能重启的增量写入模块。
解决方法:确保任务的增量写入模块处于运行中、暂停或失败状态时,再修改同步对象。
可能原因:当前任务存在未运行的增量写入模块。
解决方法:等待任务的增量写入模块运行后,再修改同步对象。
报错场景:创建任务时。
可能原因:实例不存在。
解决方法:请确保实例ID正确,然后重试。
可能原因:DTS任务不存在。
解决方法:请确保DTS任务ID正确,然后重试。
可能原因:DTS遇到内部错误。
可能原因:DTS查询RDS实例信息时遇到问题。
报错场景:购买DTS实例时。
可能原因:调用其他阿里云产品的OpenAPI时遇到问题。
可能原因:传入的参数不符合要求。
解决方法:请传入正确的参数值。
可能原因:创建分布式任务遇到问题。
可能原因:查询数据库实例遇到问题。
报错场景:配置跨阿里云账号的任务时。
可能原因:任务配置的跨阿里云账号角色名(即RAM角色名称)有误。
可能原因:当前任务状态不允许执行该操作。
解决方法:请确保当前任务状态符合操作的要求,然后重新操作。
可能原因:数据库实例不存在指定的网络类型。
解决方法:请确保配置的数据库网络类型,与数据库实例的网络类型相符。
可能原因:ECS实例加入安全组遇到问题。
可能原因:SQL执行异常。
报错场景:使用RAM用户(子账号)配置任务时。
可能原因:配置的RPS值不符合要求。
解决方法:请根据报错信息的提示,使用正确的RPS值重试。
可能原因:调用RDS的OpenAPI时遇到问题。
可能原因:获取PolarDB实例白名单信息时遇到未知错误。
报错场景:配置目标端为云原生数据仓库AnalyticDBMySQL版3.0实例的任务时。
可能原因:获取云原生数据仓库AnalyticDBMySQL版3.0实例网络信息时遇到未知错误。
可能原因:获取数据库实例网络信息失败。
可能原因:获取RDS实例列表时遇到问题。
可能原因:获取RDS实例白名单时遇到问题。
报错场景:创建标签时。
可能原因:标签的值不符合要求。
解决方法:请正确设置标签的值,然后重新操作。
可能原因:DTS检查RAM用户(子账号)权限遇到问题。
可能原因:修改RDS实例白名单时遇到问题。
可能原因:调用DMS的OpenAPI时遇到问题。
解决方法:请根据具体报错信息,在可修改的范围内修改位点。
可能原因:任务配置的步骤不存在。
解决方法:请确保配置的步骤ID正确,然后重试。
可能原因:数据库实例的JDBC连接地址信息无效。
解决方法:使用正确且有效的JDBC连接地址配置任务。
可能原因:配置的地域不存在。
解决方法:请使用正确的地域信息配置任务。
可能原因:请求信息中缺少参数。
解决方法:请确保请求参数完整且正确,然后重试。
解决方法:请在当前任务状态符合要求时重试。
可能原因:任务配置的RDS实例,当前的运行状态不是运行中。
解决方法:请确保该RDS实例的运行状态是运行中,然后重试。
可能原因:任务配置的数据库实例不存在。
解决方法:请确保传入正确的数据库实例ID,然后重试。
报错场景:暂停增量数据采集模块时。
可能原因:增量数据采集模块不支持暂停。
报错场景:调转双向同步任务方向时。
可能原因:当前类型的任务不支持调转任务方向。
可能原因:当前状态的任务不支持调转任务方向。
解决方法:请确保正向和反向同步任务的运行状态是运行中或已暂停,然后重试。
可能原因:保存SSLTrustStore失败。
可能原因:DTS连接数据库实例时遇到问题。
可能原因:获取数据库实例信息失败。
可能原因:查询数据库实例白名单失败。
可能原因:DTS创建数据库账号失败。
可能原因:修改同步对象时遇到问题。
可能原因:删除数据库账号失败。
可能原因:查询数据库账号失败。
可能原因:数据库账号已经存在。
可能原因:调用Redis的OpenAPI时遇到问题。
可能原因:连接Redis实例过程中遇到问题。
可能原因:连接PolarDB-X1.0(原DRDS)数据库实例过程中遇到问题。
可能原因:获取PolarDB-X1.0(原DRDS)表拓扑信息遇到问题。
可能原因:校验MaxCompute(原ODPS)实例的主账号AccessKeyId遇到问题。
解决方法:请确保主账号AccessKeyId正确,然后重试。
可能原因:校验MaxCompute(原ODPS)实例的主账号AccessKeySecret遇到问题。
解决方法:请确保主账号AccessKeySecret正确,然后重试。
可能原因:获取数据库实例信息时遇到问题。
可能原因:校验同步对象时遇到问题。
解决方法:请确保同步对象配置正确,然后重试。
可能原因:获取云原生数据仓库AnalyticDBMySQL版3.0实例的白名单信息遇到问题。
可能原因:修改云原生数据仓库AnalyticDBMySQL版3.0实例的白名单遇到问题。
可能原因:获取云原生数据仓库AnalyticDBMySQL版3.0实例列表遇到问题。
可能原因:获取云原生数据仓库AnalyticDBMySQL版3.0实例的集群信息遇到问题。
可能原因:查询RDS实例资源使用信息遇到问题。
可能原因:查询RDS实例信息遇到问题。
可能原因:查询RDS实例数据库连接信息遇到问题。
可能原因:创建RDS实例账号遇到问题。
可能原因:查询HBase实例数据库连接信息遇到问题。
可能原因:获取数据库连接信息遇到问题。
可能原因:获取RDS实例地域信息遇到问题。
可能原因:创建源或目标为RDS实例的迁移任务遇到问题。
可能原因:查询源或目标为RDS实例的迁移任务遇到问题。
可能原因:获取MongoDB实例白名单信息遇到问题。
可能原因:获取MongoDB实例列表遇到问题。
可能原因:获取MongoDB实例数据库连接信息遇到问题。
可能原因:获取MongoDB实例Sharding节点连接信息遇到问题。
可能原因:修改MongoDB实例白名单信息遇到问题。
可能原因:获取MongoDB实例信息遇到问题。
可能原因:获取MongoDB实例Sharding节点GID信息遇到问题。
可能原因:获取PolarDB实例列表遇到问题。
可能原因:获取PolarDB实例连接信息遇到问题。
可能原因:修改PolarDB实例集群白名单遇到问题。
可能原因:获取PolarDB实例信息遇到问题。
可能原因:获取Redis实例白名单信息遇到问题。
可能原因:获取Redis实例列表遇到问题。
可能原因:获取Redis实例连接地址遇到问题。
可能原因:修改Redis实例白名单遇到问题。
可能原因:获取Redis实例信息遇到问题。
可能原因:创建Redis实例账号遇到问题。
可能原因:获取Redis实例架构类型遇到问题。
可能原因:获取ECS实例白名单遇到问题。
可能原因:获取ECS实例列表遇到问题。
可能原因:获取ECS实例Metric列表遇到问题。
可能原因:获取ECS实例网络信息遇到问题。
可能原因:修改ECS实例安全组遇到问题。
可能原因:调用ECS安全组遇到问题。
可能原因:移除ECS实例安全组遇到问题。
可能原因:获取ECS实例信息遇到问题。
可能原因:获取ECS实例安全组遇到问题。
可能原因:删除ECS安全组遇到问题。
可能原因:获取ECS实例安全组规则遇到问题。
可能原因:创建ECS账号遇到问题。
可能原因:获取Lindorm实例数据库连接信息遇到问题。
可能原因:获取Lindorm实例信息遇到问题。
可能原因:当前任务没有增量数据采集模块,不支持修改位点。
可能原因:当前任务不支持该操作。
可能原因:当前类型的任务不支持该操作。
可能原因:创建校验任务失败。
可能原因:创建源或目标数据库实例为Db2fori(AS/400)的任务失败。
可能原因:创建数据库账号遇到问题。
报错场景:为DTS实例添加标签时。
可能原因:标签没有设置标签键。
解决方法:请正确设置标签的键,然后重新操作。
报错场景:使用API为DTS实例添加标签时。
可能原因:传入的参数中缺少实例ID、标签的键或标签的值。
解决方法:请确保传入的参数完整且正确,然后重试。
报错场景:使用API查询或添加标签时。
可能原因:资源类型(ResourceType)的参数值不正确。
解决方法:请将ResourceType的参数值修改为ALIYUN::DTS::INSTANCE,然后重试。
可能原因:标签的键不符合要求。
解决方法:请正确设置标签的键,然后重试。
可能原因:DTS实例不存在。
解决方法:请确保DTS实例ID(ResourceId)正确,然后重试。
可能原因:标签的键或值不符合要求。
解决方法:请正确设置标签的键和值,然后重试。
可能原因:解析标签时遇到问题。
报错场景:使用API查询所有标签时。
可能原因:标签类型(Category)的参数值不正确。
解决方法:请将Category的参数值修改为Custom(用户添加的标签键)或System(系统创建的标签),然后重试。
可能原因:批量添加的标签的数量超过20。
每个实例最多可以绑定20个标签。
解决方法:请减少标签的数量,然后重试。
可能原因:DTS实例的数量超过50。
最多支持同时为50个实例绑定标签。
解决方法:请减少实例个数,然后重试。
可能原因:存在重复的标签。
可能原因:标签的数量累计超过20。
解决方法:请在业务允许的前提条件下,删除不再使用的标签,然后重试。
可能原因:查询标签时遇到问题。
报错场景:配置专属集群任务时。
可能原因:专属集群不支持跨地域的任务。
可能原因:当前DTS实例不支持专属集群。
可能原因:DTS不支持跨专属集群的迁移任务。
可能原因:当前专属集群已经释放。
可能原因:当前专属集群正在释放中。
可能原因:当前专属集群状态不是运行中。
可能原因1:当前专属集群剩余可用DU数不足。
超配比最大支持200%。
可能原因2:指定的专属集群不存在。
可能原因:专属集群分配DU时遇到问题。
报错场景:在全量迁移阶段跳过表时。
可能原因:包含该表的全量迁移任务不存在。
可能原因:购买实例遇到问题。
可能原因:校验源端公网IP遇到问题。
可能原因:校验目标端公网IP遇到问题。
可能原因:请求参数缺少DTS实例ID。
解决方法:请检查请求入参是否正确
可能原因:检查资源组遇到问题。
可能原因:请求信息中缺少目标实例的端口。
可能原因:请求信息中缺少源实例的端口。
报错场景:在新版控制台修改订阅任务时。
可能原因:该任务为旧版订阅任务,而新版控制台不支持修改旧版订阅任务。
报错场景:创建订阅任务消费组时。
可能原因:任务配置的虚拟交换机的可用IP数不足。
报错场景:配置源或目标实例的接入方式为云企业网CEN的任务时。
可能原因:获取CEN下的VPC列表遇到问题。
报错场景:配置源或目标实例为MongoDB的任务时。
可能原因:当前MongoDB实例处于无效状态。
解决方法:请检查MongoDB实例的状态,等待MongoDB实例正常运行后重试。
报错场景:配置任务时。
可能原因:源数据库server_id检查失败。
可能原因:在配置迁移或者同步的配置过程中未选择结构迁移或结构同步,且未在目标库中创建相应结构的表,导致目标库中不存在相应的表。
报错示例:如下报错信息,表示目标库中dts_order表不存在。您可以在目标库根据源库中的表信息创建dts_order表,然后重新启动任务。
replicate-mysql:DTS-70002:gettable[dts_order]detailinfofailed.\ncause:\n\tMySQLSyntaxErrorException:Table'dts_order'doesn'texistDTS-RETRY-ERR-0002:gettable(.*)detailinfofailed(.*)Table(.*)doesnotexist可能原因:源库或目标库部分表不存在。
解决办法:请根据具体报错任务类型、任务模块选择解决方案。
报错示例:
replicate-mysql:DTS-70002:gettable[ars_uat.immc_mc_cs_clue_order]detailinfofailed.\ncause:\n\tMySQLSyntaxErrorException:Table'ars_uat.immc_mc_cs_clue_order'doesn'texistDTS-RETRY-ERR-0003:gettable(.*)detailinfofailed(.*)connecttargetfailed(.*)Accessdeniedforuser可能原因:任务使用的目标库数据库账号信息,在任务运行中被修改,导致无法连接目标库。例如在任务运行中修改账号密码、修改账号权限、删除账号等。
报错示例:如下报错信息,表示root账号无法连接目标库。
replicate-mysql:DTS-70002:gettable[db_yfq.czb_oil_station]detailinfofailed.\ncause:\n\tDBCommonException:replicate-mysql:DTS-71016:connecttargetfailed(url:jdbc:mysql://121.36.XX.XX:XXXXuseSSL=false&useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&autoReconnect=false&failOverReadOnly=false&useLocalSessionState=true&transformedBitIsBoolean=FALSE&tinyInt1isBit=FALSE&sessionVariables=sql_mode=''&allowLoadLocalInfile=true&allowPublicKeyRetrieval=true&socketTimeout=3600000&connectTimeout=3600000)\n\tSQLException:Accessdeniedforuser'root'@'8.131.XX.XX'(usingpassword:YES)DTS-RETRY-ERR-0004:gettable(.*)detailinfofailed(.*)Noworkernodesavailableinresourcegroup可能原因:DTS获取表结构时,云原生数据仓库AnalyticDBMySQL版没有可用的worker节点。
解决方法:排查云原生数据仓库AnalyticDBMySQL版数据库是否可用。
id=34284****,jobId=cvft576n24l9****,value={"errMsg":"replicate-adb30:DTS-70002:gettable[mgdevsys.mytable]detailinfofailed.\ncause:\n\tSQLException:[31003,2022110109452317201617024803453049329]:Noworkernodesavailableinresourcegroup","jobId":"cfal5qfd243d834","maxRetryTime":7200,"module":"writer","retryCount":2,"retryTarget":"destDB","retryTime":132,"retrying":true}DTS-RETRY-ERR-0006:Cannotfindcolumn(.*)indestinationtable可能原因:目标端的表缺少列。
报错示例:如下报错信息,表示目标库的dts_user_authorization表中不存在wx_state列。
framework:DTS-30019:Cannotfindcolumn\"wx_state\"indestinationtable\"dts_user_authorization\".Pleaseaddthecolumninthedestinationtable.后续建议:导致目标端缺少列有多种原因,其中一种原因是:同步链路不支持同步DDL,但在源端增加列。对于这种需求,请先在目标端增加列,然后在源端增加列,就不会导致同步任务失败。
可能原因1:网络波动等原因,导致当前数据写入模块连接缓存模块超时。
解决方法1:重新启动任务,并查看任务是否恢复正常。
Failedtogetoffsetsbytimesin60000msDTS-RETRY-ERR-0008:Failedtoseekoracleposition可能原因:日志找不到,源端日志可能被清理。
解决办法:请重新配置任务。
dts-k-src:DTS-52110:OracleRecordExtractorInitError:oracle-reader:DTS-52061:FailedtoseekoraclepositionDTS-RETRY-ERR-0010:executestatementfailed(.*)modifyprecisionisnotsupported可能原因:链路不支持该类型的DDL操作,从而导致DDL执行失败。
解决办法:
transaction-replicate:DTS-70004:executestatementfailed:/*dts_id=dtsit911vn1255*****/altertable`billing`.`store_payroll_detail`modifycolumn`epidemic_subsidy`DECIMAL(20,5)comment'****'cause:SQLException:[15018,202210211956001921681171220345323****]modifyprecisionisnotsupported,col=epidemic_subsidy,typedecimal,old=21,new=20DTS-RETRY-ERR-0011:seektimestampfortopic(.*)withposition(.*)failed可能原因1:任务暂停过久,重新启动后DTS缓存模块中已没有相应位点的数据。
可能原因2:任务失败过久,修复后DTS缓存模块中已没有相应位点的数据。
解决方法2:重新创建任务。
任务失败报错时,请尽快修复问题并恢复任务,避免任务因失败过久而无法恢复。
全量迁移或全量同步期间,DTS本地会循环存储源库近24小时或者50GB的数据日志,用于增量数据解析。
解决方法3:需重新创建任务。创建任务前,请评估迁移或同步数据量,如数据量较大,建议拆分成多个迁移或同步任务。
报错示例:如下报错信息,表示DTS缓存模块中已没有相应位点(2021-5-2021:17:51)的数据。
capture-dstore:DTS-50019:seektimestampfortopic[cn_hangzhou_vpc_rm_XXXX_version2-0]withposition[{"timestamp":1660802171,"offset":-1}]failedDTS-RETRY-ERR-0012:executestatementfailed(.*)modifycolumntypeisnotsupported可能原因:链路不支持该类型的DDL操作,从而导致DDL执行失败。
transaction-replicate:DTS-70004:executestatementfailed:/*dts_id=dtsit911vn1255*****/altertable`billing`.`store_payroll_detail`modifycolumn`epidemic_subsidy`DECIMAL(20,5)comment'****'cause:SQLException:[15018,202210211956001921681171220345323****]modifyprecisionisnotsupported,col=epidemic_subsidy,typedecimal,old=21,new=20DTS-RETRY-ERR-0013:executestatementfailed(.*)commanddeniedtouser可能原因:目标端数据库账号权限不足。
解决方法:提高DTS用户的权限,检查目标端数据库账号权限,授予报错信息中命令权限。
id=34286****,jobId=g5lw9b3121v****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:null\ncause:\n\tMySQLSyntaxErrorException:INSERT,UPDATEcommanddeniedtouser'dts_customerczd'@'172.17.XX.XX'fortable'dts_trx4unit_mark_18'","jobId":"bh2u9v80213****","maxRetryTime":7200,"module":"writer","retryCount":35,"retryTarget":"destDB","retryTime":372,"retrying":true}DTS-RETRY-ERR-0015:executestatementfailed(.*)Invalidobjectname可能原因:目标库中不存在报错信息中的表。
解决方法:检查目标端是否存在报错信息中的表,若不存在:
id=344846732,jobId=ymp1082920y****,value={"errMsg":"replicate-sqlserver:DTS-70002:gettable[[test].[dbo].[task]]detailinfofailed.\ncause:\n\tSQLServerException:Invalidobjectname'test.dbo.task'.","jobId":"anv103sx20od235","maxRetryTime":86400,"module":"writer","retryCount":345,"retryTarget":"destDB","retryTime":3458,"retrying":true}DTS-RETRY-ERR-0016:executestatementfailed(.*)elasticsearch(.*)ResponseException(.*)SERVICE_UNAVAILABLE可能原因:目标端的检索分析服务Elasticsearch不可用。
解决方法:检查目标端的Elasticsearch服务是否正常可用。
{"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:null\ncause:\n\tSQLException:3:meeterror,updateSQL****errordetailmessage:org.elasticsearch.client.ResponseException:****503\n}\n\n\tSQLException:org.elasticsearch.client.ResponseException:****}DTS-RETRY-ERR-0018:readsourcedataerror(.*)Errorretrievingrecord(.*)Cannotreadresponsefromserver可能原因:数据库连接异常。
id=34281****,jobId=n9f10m6i28s3601,value={"errMsg":"framework:DTS-31009:readsourcedataerror\ncause:\n\tSQLException:Errorretrievingrecord:UnexpectedException:java.io.EOFExceptionmessagegiven:Cannotreadresponsefromserver.Expectedtoread987bytes,****}DTS-RETRY-ERR-0019:readsourcedataerror(.*)Errorretrievingrecord(.*)Connectionreset可能原因:连接被重置。
解决方法:检查网络状况,测试到数据库的连接是否正常。
解决方法:根据报错信息修复相应表的索引。
报错示例:如下报错信息,表示mytable表的索引损坏。
framework:DTS-31009:readsourcedataerror\ncause:\n\tSQLException:Table'mytable'ismarkedascrashedandshouldberepaired您可以使用如下命令进行修复:
usemy_database;repairtablemytable;DTS-RETRY-ERR-0021:BatchUpdateException(.*)nothiscolumn(.*)inthistable可能原因:目标端的表缺少列。
解决办法:在目标端的表增加缺失的列,然后重新启动任务。
id=34293****,jobId=zjj11te2w1i****,value={"errMsg":"java.sql.BatchUpdateException:[13000,202211011449191921681280300345301****]syntaxerror:nothiscolumn=>__dts_data_source,inthistableLY.C1","jobId":"gqy11x78c19****","maxRetryTime":7200,"module":"full","retryCount":485,"retryTarget":"destDB","retryTime":4848,"retrying":true}DTS-RETRY-ERR-0024:diskusageexceededflood-stagewatermark可能原因:
common:DTS-11005:es:DTS-10035:index[tp_adlist_day_report_11]blockedby:[TOO_MANY_REQUESTS/12/diskusageexceededflood-stagewatermark,indexhasread-only-allow-deleteblock];\ncause:\n\tIOException:es:DTS-10035:index[tp_adlist_day_report_11]blockedby:[TOO_MANY_REQUESTS/12/diskusageexceededflood-stagewatermark,indexhasread-only-allow-deleteblock];\n\tCriticalAnyAllException:es:DTS-10035:index[tp_adlist_day_report_11]blockedby:[TOO_MANY_REQUESTS/12/diskusageexceededflood-stagewatermark,indexhasread-only-allow-deleteblock];DTS-RETRY-ERR-0025:diskisoverflow可能原因:
common:DTS-11005:es:DTS-10035:index[tp_adlist_day_report_11]blockedby:[TOO_MANY_REQUESTS/12/diskusageexceededflood-stagewatermark,indexhasread-only-allow-deleteblock];\ncause:\n\tIOException:es:DTS-10035:index[tp_adlist_day_report_11]blockedby:[TOO_MANY_REQUESTS/12/diskusageexceededflood-stagewatermark,indexhasread-only-allow-deleteblock];\n\tCriticalAnyAllException:es:DTS-10035:index[tp_adlist_day_report_11]blockedby:[TOO_MANY_REQUESTS/12/diskusageexceededflood-stagewatermark,indexhasread-only-allow-deleteblock];DTS-RETRY-ERR-0026:connecttimedout可能原因:数据库连接异常。
java.net.SocketTimeoutException:connecttimedout@errorcode:1042DTS-RETRY-ERR-0027:Communicationslinkfailure(.*)Thedriverhasnotreceivedanypacketsfromtheserver可能原因1:数据库以自建库接入DTS,数据库地址或端口填写错误。
解决方法1:检查并更正数据库地址和端口信息,然后重新启动任务。
可能原因2:数据库以专线接入DTS,该数据库通过专线连接异常。
解决方法2:请检查专线网络路由表及防火墙配置。
Communicationslinkfailure\n\nThelastpacketsentsuccessfullytotheserverwas0millisecondsago.Thedriverhasnotreceivedanypacketsfromtheserver.@errorcode:0DTS-RETRY-ERR-0028:UnknownHostException(.*)aliyuncs\\.com可能原因:目标端数据库实例可能被释放了。
解决方法:无法恢复,请重新配置任务。
java.net.UnknownHostException:rm-bp167dm72ah1hm1****.mysql.rds.aliyuncs.com@errorcode:1042DTS-RETRY-ERR-0029:Toomanyconnections(.*)errorcode可能原因:数据库连接数达到上限。
解决方法:修改数据库连接数上限,然后重新启动任务。
Toomanyconnections@errorcode:1040DTS-RETRY-ERR-0030:ConnectException(.*)Connectionrefused可能原因:DTS的连接请求被拒绝了。
id=34269****,jobId=pfi10xxa251****,value={"errMsg":"java.net.ConnectException:Connectionrefused(Connectionrefused)@errorcode:1042","jobId":"ehz1066b257****","maxRetryTime":43200,"module":"reader","retryCount":3,"retryTarget":"srcDB","retryTime":30,"retrying":true}DTS-RETRY-ERR-0032:SQLServerException(.*)Theconnectionisclosed可能原因:SQLServer数据库连接中断。
解决方法:请确保源库和目标库SQLServer数据库可以正常连接,然后重新启动任务。
java.lang.RuntimeException:com.microsoft.sqlserver.jdbc.SQLServerException:Theconnectionisclosed.DTS-RETRY-ERR-0033:SQLServerException(.*)Connectionreset可能原因:网络不稳定,连接被重置。
解决办法:请确保SQLServer数据库可以正常连接,然后重新启动任务。
id=34271****,jobId=c2x10019318****,value={"errMsg":"com.microsoft.sqlserver.jdbc.SQLServerException:ConnectionresetClientConnectionId:8a2bcd3d-3a6f-4b06-b5c4-94944d40****","jobId":"al9105f2314****","maxRetryTime":7200,"module":"writer","retryCount":2,"retryTarget":"destDB","retryTime":28,"retrying":true}DTS-RETRY-ERR-0034:elasticsearch(.*)ResponseException(.*)TooManyRequests可能原因:Elasticsearch服务连接异常。
解决办法:检查ElasticSearch服务连接是否正常,然后重新启动任务。
Yourpasswordhasexpired.Tologinyoumustchangeitusingaclientthatsupportsexpiredpasswords.@errorcode:1862DTS-RETRY-ERR-0036:Can'tuse(.*)databasethroughmongos(.*)onserver可能原因1:任务使用的MongoDB数据库账号权限不足。
可能原因2:待同步或迁移的数据为admin和local库中的数据。
解决办法2:暂不支持同步或迁移admin和local库中的数据。
Commandfailedwitherror20(IllegalOperation):'Can'tuse'local'databasethroughmongos'onservers-bp1698827e718b84-pub.mongodb.rds.aliyuncs.com:3717.DTS-RETRY-ERR-0037:Thelastpacketsentsuccessfullytotheserverwas(.*)millisecondsago可能原因:数据库连接异常。
id=342986938****,jobId=iv6a9w5za8****,value={"errMsg":"com.mysql.cj.exceptions.CJCommunicationsException:Thelastpacketsuccessfullyreceivedfromtheserverwas1millisecondsago.Thelastpacketsentsuccessfullytotheserverwas14,513,692,650millisecondsago.****DTS-RETRY-ERR-0038:Statementcancelledduetotimeoutorclientrequest可能原因:获取源库Binlog最新位点时SQL查询超时。
解决方法:请确保DTS可以正常连接源库,然后重新启动任务。
id=34289****,jobId=lv710sub15r****,value={"errMsg":"Statementcancelledduetotimeoutorclientrequest@errorcode:0","jobId":"wig100eq157****","maxRetryTime":43200,"module":"reader","retryCount":4,"retryTarget":"srcDB","retryTime":520,"retrying":true}DTS-RETRY-ERR-0039:Connectdbfailure(.*)connecttimedout可能原因:连接数据库超时。
解决方法:请确保DTS可以正常连接数据库,然后重新启动任务。
id=34286****,jobId=hy0s8l20276****,value={"errMsg":"TheTCP/IPconnectiontothehost172.26.XX.XX,port51808hasfailed.Error:\"Thedriverreceivedanunexpectedpre-loginresponse.VerifytheconnectionpropertiesandcheckthataninstanceofSQLServerisrunningonthehostandacceptingTCP/IPconnectionsattheport.ThisdrivercanbeusedonlywithSQLServer2005orlater.\".ClientConnectionId:f8d40feb-1345-4064-82d8-fe4e2893****@errorcode:0","jobId":"g5bf870q27b****","maxRetryTime":7200,"module":"reader","retryCount":1,"retryTarget":"srcDB","retryTime":15,"retrying":true}DTS-RETRY-ERR-0041:ErroronSend(.*)Expiring(.*)haspassedsincebatchcreationpluslingertime可能原因:增量数据采集模块异常。
解决方法:重启增量数据采集模块。
id=34286****,jobId=ehi11j9jw1h****,value={"errMsg":"dts-k-src:DTS-52122:ErroronSend.Expiring4251record(s)forap_southeast_1_vpc_rm_t4npvr5594z735ic5_imi_sg_prod_version2-0:180182mshaspassedsincebatchcreationpluslingertime","jobId":"s3c116i9z1t****","maxRetryTime":7200,"module":"reader","retryCount":0,"retryTarget":"dstore","retryTime":1,"retrying":true}DTS-RETRY-ERR-0042:Nooperationsallowedafterstatementclosed可能原因:目标数据库无法正常连接。
解决方法:请确保DTS可以正常连接目标库,然后重新启动任务。
dts-k-src:DTS-52110:MySQLRecordExtractorInitError:mysql-reader:DTS-52212:MySQLbinlog1664283982isnotexists.DTS-RETRY-ERR-0044:GetLastPositionError可能原因:获取事务的GTID异常。
id=34293****,jobId=vheu6zm1297****,value={"errMsg":"dts-k-src:DTS-52121:GetLastPositionError.","jobId":"p83i1t3912i****","maxRetryTime":7200,"module":"reader","retryCount":30,"retryTarget":"dstore","retryTime":2911,"retrying":true}DTS-RETRY-ERR-0045:archivererror(.*)Connectinternalonly(.*)untilfreed可能原因:Oracle归档日志占用空间或者根目录空间已满,导致归档任务无法正常执行。
解决方法:检查Oracle归档日志占用空间或者根目录空间是否已满。
id=34291****,jobId=zl0110ae27t****,value={"errMsg":"ORA-00257:archivererror.Connectinternalonly,untilfreed.\n@errorcode:257","jobId":"o50118un27m****","maxRetryTime":43200,"module":"reader","retryCount":90,"retryTarget":"srcDB","retryTime":903,"retrying":true}DTS-RETRY-ERR-0046:Accessdeniedforuser可能原因1:任务中使用的数据库账号权限不足。
解决方法1:
可能原因2:报错信息中的库为系统库(如sys等)或者不需要同步或迁移的数据库。
id=34298****,jobId=c7e10qex28q****,value={"errMsg":"dts-k-src:DTS-52110:MySQLRecordExtractorInitError:mysql-reader:DTS--0002:MySQLMessageNotifiernotifyConnectionExceptionerrorAccessdeniedforuser'edy_dba1'@'10.28.XX.XX'(usingpassword:YES)","jobId":"k361016128e****","maxRetryTime":7200,"module":"reader","retryCount":18,"retryTarget":"srcDB","retryTime":730,"retrying":true}DTS-RETRY-ERR-0047:TheMySQLserverisrunningwiththe--read-onlyoption可能原因:MySQL实例是一个只读实例。
id=34298****,jobId=o0g115h4l19****,value={"errMsg":"common:DTS-11005:es:DTS-10035:objectmappingfor[ext_info.storeSnapshot]triedtoparsefield[storeSnapshot]asobject,butfoundaconcretevalue\ncause:\n\tIOException:es:DTS-10035:objectmappingfor[ext_info.storeSnapshot]triedtoparsefield[storeSnapshot]asobject,butfoundaconcretevalue\n\tCriticalAnyAllException:es:DTS-10035:objectmappingfor[ext_info.storeSnapshot]triedtoparsefield[storeSnapshot]asobject,butfoundaconcretevalue","jobId":"k5d111rgn1q****","maxRetryTime":7200,"module":"full","retryCount":8,"retryTarget":"destDB","retryTime":188,"retrying":true}DTS-RETRY-ERR-0049:gettable(.*)detailinfofailed(.*)Nooperationsallowedafterconnectionclosed可能原因:在任务运行期间修改了目标库名称,导致连接目标库失败。
解决方法:请检查数据库是否存在,并确保数据库可以正常连接。
id=34443****,jobId=vnie8qsym6j****,value={"errMsg":"replicate-adb30:DTS-70002:gettable[center_item.t_ite_half_product_list]detailinfofailed.\ncause:\n\tMySQLNonTransientConnectionException:Nooperationsallowedafterconnectionclosed.","jobId":"xlcu9y7a29s****","maxRetryTime":43200,"module":"writer","retryCount":42,"retryTarget":"destDB","retryTime":415,"retrying":true}DTS-RETRY-ERR-0050:gettable(.*)detailinfofailed(.*)Schema(.*)doesnotexist可能原因:修改过目标库名称,导致Schema不存在。
解决方法:请检查Schema是否存在。
id=34443****,jobId=vnie8qsym6j****,value={"errMsg":"replicate-adb30:DTS-70002:gettable[center_item.t_ite_sale_product_list]detailinfofailed.\ncause:\n\tSQLException:[20019,2022110223221517201625218803151866591]:Schemacenter_itemdoesnotexist","jobId":"xlcu9y7a29s****","maxRetryTime":43200,"module":"writer","retryCount":13,"retryTarget":"destDB","retryTime":128,"retrying":true}DTS-RETRY-ERR-0051:executestatementfailed(.*)TheMySQLserverisrunningwiththeLOCK_WRITEoption可能原因:MySQL实例状态异常(如实例为LOCK_WRITE状态),DTS无法写入数据。
解决方法:请检查MySQL实例状态是否正常。
解决方法:按照源库对应表的主键设置为目标库添加主键,然后重新启动任务。
报错示例:如下报错信息,表示目标库reader中的my_table表缺少主键。您可以参考源库的表信息为目标库中my_table表添加主键,然后重新启动任务。
解决方法:重启增量写入模块,并查看任务是否恢复正常。
org.apache.kafka.common.errors.TimeoutException:Failedtogetoffsetsbytimesin120000msDTS-RETRY-ERR-0054:Failedtogetoffsetsbytimesin60000ms可能原因:网络波动等原因,导致增量数据采集模块无法连接数据缓存模块。
解决方法:重启增量数据采集模块,并查看任务是否恢复正常。
Failedtogetoffsetsbytimesin60000msDTS-RETRY-ERR-0055:Inprocessofprocessingdata(.*)failed(.*)column(.*)doesnotexist可能原因:目标端的表缺少列。
解决方法:在目标端的表增加缺失的列,然后重新启动任务。
报错示例:如下报错信息,表示目标库的default$default表中不存在a列。
Inprocessofprocessingdata(recordRange:767384901729753****)failedcause:CriticalAnyAllException:framework:DTS-30020:executesql:/*DTS-full-t6o10oly31f*****/SELECTa,bFROMdefault$default."_AnswerDetailToSectionScore"-->(null,null)recordrangeid=767384901729753****,fetchSize=1024PSQLException:ERROR:column"a"doesnotexistDTS-RETRY-ERR-0056:Inprocessofprocessingdata(.*)failed(.*)readsourcedataerror(.*)AnI/Oerroroccurredwhilesendingtothebackend可能原因:目标库负载过高或者网络不稳定。
Inprocessofprocessingdata(recordRange:361479547447882****)failedcause:CriticalAnyAllException:framework:DTS-31009:readsourcedataerrorPSQLException:AnI/Oerroroccurredwhilesendingtothebackend.DTS-RETRY-ERR-0057:fetchcolumninfofromtargettable(.*)failed(.*)Cannotgetthecolumn可能原因1:DTS全量迁移暂不支持迁移global_index(全局索引)。
解决方法1:删除目标库中的global_index。
可能原因2:数据库存储引擎使用的是DTS不支持的MyISAM。
framework:DTS-31008:fetchcolumninfofromtargettablesnpcenter.modificationfailedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromtargettablesnpcenter.modificationfailedCriticalAnyAllException:full-postgresql:DTS-61008:jdbc:DTS-11014:CannotgetthecolumntableoidfromrecordSchemaforindexglobal_modification_after_idxDTS-RETRY-ERR-0058:fetchcolumninfofrom(.*)table(.*)failed(.*)relation(.*)doesnotexist可能原因1:目标库中的指定表不存在。
解决方法1:在目标数据库中创建对应表,如需删除该表,请在任务结束后再执行删除操作。
报错示例:如下报错信息,表示目标库中dw.tmp_smb2021表不存在。
framework:DTS-31008:fetchcolumninfofromsourcetabledw.tmp_smb2021failedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromsourcetabledw.tmp_smb2021failedCriticalAnyAllException:full-postgresql:DTS-61008:ERROR:relation"dw.tmp_smb2021"doesnotexistDTS-RETRY-ERR-0059:fetchcolumninfofrom(.*)table(.*)failed(.*)NullPointerException可能原因1:从源库查询对应的表结构信息失败,可能是源库中对应表被删除,或当前配置的源库账号没有该表的查询权限。
报错示例:如下报错信息,表示获取xxx库的yyy表结构失败。
**cause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromsourcetablexxx.yyyfailedNullPointerException:nullDTS-RETRY-ERR-0060:Table(.*)doesn'texist可能原因:目标库中的指定表不存在。
解决方法:在目标数据库中创建对应表,如需删除该表,请在任务结束后再执行删除操作。
报错示例:如下报错信息,表示目标库中hd_new_cctv.tbl_program表不存在。
cause:BatchUpdateException:Table'hd_new_cctv.tbl_program'doesn'texistMySQLSyntaxErrorException:Table'hd_new_cctv.tbl_program'doesn'texist"DTS-RETRY-ERR-0061:Duplicateentry(.*)forkey可能原因:在写入目标库过程中遇到了主键冲突的问题。通常是因为目标库中存在Trigger(触发器),DTS写入时触发了该Trigger,又由该Trigger触发了主键冲突。
解决方法:查看报错SQL中的库表信息,在目标库中查询是否存在Trigger,并结合业务评估是否可以删除Trigger,删除后重新启动任务。
Duplicateentry'97103673'forkey'PRIMARY'cause:BatchUpdateException:Duplicateentry'9710****'forkey'PRIMARY'MySQLIntegrityConstraintViolationException:Duplicateentry'9710****'forkey'PRIMARY'"DTS-RETRY-ERR-0062:column(.*)ofrelation(.*)doesnotexist可能原因:目标库和源库的表结构不一致,目标库指定的表中缺少列。
解决方法:在目标库指定的表中增加缺失的列,然后重新启动任务。
报错示例:如下报错信息,表示目标库中的t_m_class_record_detail表的exception列不存在。
ERROR:column"exception"ofrelation"t_m_class_record_detail"doesnotexistDTS-RETRY-ERR-0063:Lockwaittimeoutexceeded可能原因:目标库存在锁等待超时问题。
解决方法:若目标库是MySQL,可通过以下命令检查目标库锁的状况。
SHOWFULLPROCESSLIST;SELECT*FROMinnodb_trx;说明修复完成后,需要重新启动任务。
reason:Lockwaittimeoutexceeded;tryrestartingtransactioncause:BatchUpdateException:Lockwaittimeoutexceeded;tryrestartingtransactionMySQLTransactionRollbackException:Lockwaittimeoutexceeded;tryrestartingtransactionDTS-RETRY-ERR-0064:schemaindblistnotfoundindatabase可能原因:目标库Schema不存在。
解决方法:需要在目标库中手动创建对应的Schema以及Schema中需要迁移的表,并重新启动任务。
schemaindblistnotfoundindatabaseDTS-RETRY-ERR-0065:syntaxerroratornear(.*)schema(.*)doesnotexist可能原因:目标库Schema不存在。
ERROR:syntaxerroratornear\"\"ALTER\"\"Position:157.ERROR:schema\"\"CECDEV\"\"doesnotexist.DTS-RETRY-ERR-0066:MongoCommandException(.*)Commandfailedwitherror(.*)requiresauthentication可能原因:目标库的账号没有写权限。
MongoCommandException:Commandfailedwitherror13:'commandinsertrequiresauthentication'onserver113.**.*.*:27017.DTS-RETRY-ERR-0067:MongoCommandException(.*)Commandfailedwitherror(.*)disklocked可能原因:目标库磁盘被锁定,可能是磁盘空间已满。
解决方法:扩容目标库的MongoDB磁盘空间,并重新启动任务。
MongoCommandException:Commandfailedwitherror13:'cloudinstanceerror,disklocked,plzcheckandupgradeyourdiskquota,extrainfo:notauthorizedongankao_logtoexecutecommand{insert:"jyquestions",ordered:true,bypassDocumentValidation:true,$db:"gankao_log"}'onserver100.**.*.*:27017.DTS-RETRY-ERR-0068:invalidsetnullvaluetonotnullablefield可能原因:源库与目标库的表结构不一致,源库为NULLABLE,而目标库为NOTNULL。
解决方法:根据报错找到具体的目标库表,将该表的报错字段类型修改为NULLABLE,并重新启动任务。
CriticalAnyAllException:database-commons:DTS-11001:invalidsetnullvaluetonotnullablefieldDTS-RETRY-ERR-0069:Datasourcerejectedestablishmentofconnection(.*)Toomanyconnections可能原因:源端或目标端数据库的连接数过多。
解决方法:调整源端或目标端数据库的最大连接数,并重新启动任务。
若您的实际不符合上述原因,请尝试以下方法:
MySQLNonTransientConnectionException:Datasourcerejectedestablishmentofconnection,messagefromserver:""Toomanyconnections"""DTS-RETRY-ERR-0070:Inprocessofprocessingdata(.*)failed(.*)SyntaxerrorinSQLstatement可能原因:配置同步对象的过滤字段格式不正确,需要去除WHERE关键字。
解决方法:修改同步对象的过滤条件字段,去除WHERE关键字,并重新启动任务。
framework:DTS-31009:Inprocessofprocessingdata(recordRange:631*****493978*****)failedcause:CriticalAnyAllException:common:DTS-11005:SyntaxerrorinSQLstatement"WHERE[*]UPDATED_TIME>'2022-11-02'"[42000-193]DTS-RETRY-ERR-0071:Inprocessofprocessingdata(.*)failed(.*)Fetchrecords(.*)timesbutreturnempty可能原因:增量写入模块无法从增量数据采集模块中获取数据。
解决方法:排查增量数据采集模块的报错。
\"framework:DTS-31009:Inprocessofprocessingdata(recordRange:651*****493978*****)failed\n"+"cause:\n"+"\tCriticalAnyAllException:common:DTS-10009:capture-dstore:DTS-51009:Fetchrecords156timesbutreturnempty.\n"+"\tRecoverableAnyAllException:capture-dstore:DTS-51009:Fetchrecords156timesbutreturnempty.\n"+"\tException:Fetchrecordsbutreturnempty.\"DTS-RETRY-ERR-0072:Inprocessofprocessingdata(.*)failed(.*)Failedtogetoffsetsbytimesin120000ms可能原因:增量写入模块无法从增量数据采集模块中获取数据。
\"framework:DTS-31009:Inprocessofprocessingdata(recordRange:3187189853338992640)failed\n"+"cause:\n"+"\tCriticalAnyAllException:common:DTS-11005:Failedtogetoffsetsbytimesin120000ms\n"+"\tTimeoutException:Failedtogetoffsetsbytimesin120000ms\"DTS-RETRY-ERR-0073:Inprocessofprocessingdata(.*)failed(.*)unreachablesourceredisnetwork可能原因:DTS网络无法连接至Redis实例,也可能是Redis实例被释放。
解决方法:检查Redis实例是否可以正常连接。
\"framework:DTS-31009:Inprocessofprocessingdata(recordRange:278730492608512)failed\n"+"cause:\n"+"\tRedisServerException:redis:DTS-10015:unreachablesourceredisnetwork.\n"+"\tSocketException:Brokenpipe(Writefailed)\"DTS-RETRY-ERR-0074:JedisDataException(.*)WRONGTYPEOperationagainstakeyholdingthewrongkindofvalue可能原因:目标库已存在与源库同名但类型不相同的Key数据。
解决方法:删除目标库的同名key。
解决方法:重新配置任务。
"\tCriticalAnyAllException:sqlserver-reader:DTS-52061:Failedtoseeksqlserverposition\n"+DTS-RETRY-ERR-0076:SQLServerException(.*)ThedrivercouldnotestablishasecureconnectiontoSQLServerbyusingSecureSocketsLayer可能原因:数据库实例无法连接。
"cause:\n"+"\tSQLServerException:ThedrivercouldnotestablishasecureconnectiontoSQLServerbyusingSecureSocketsLayer(SSL)encryption.Error:\"\"Unexpectedrethrowing\"\".\n"+DTS-RETRY-ERR-0077:IncrementContextIsNotRunning(.*)pleasecheckwhetherbinlog_row_image=FULL可能原因:Binlog模式错误,DTS服务连接MySQL只支持binlog_row_image='FULL'模式的日志。
您需要确保在创建DTS任务前,源库的binlog_row_image参数为FULL。
\"dts-k-src:DTS-52111:IncrementContextIsNotRunning..:\n"+"cause:\n"+"\tCriticalAnyAllException:mysql-reader:DTS-52210:fetchlogfailed\n"+"\tIOException:java.lang.UnsupportedOperationException:database:palm_all/table:p_player/charSet:utf8/rdsRowid:false/filter:false/engine:InnoDB/snapshot:16659793*****Nullbitmapsizecheckerror,binlogtablemaphas15columns,butroweventhas{0},pleasecheckwhetherbinlog_row_image=FULLandbinlogeventHeader:DTS-RETRY-ERR-0078:Fetchrecords(.*)timesbutreturnempty可能原因:增量写入模块无法从增量数据采集模块中获取数据。
\"framework:DTS-31009:Inprocessofprocessingdata(recordRange:65147****8075******)failed\n"+"cause:\n"+"\tCriticalAnyAllException:common:DTS-10009:capture-dstore:DTS-51009:Fetchrecords156timesbutreturnempty.\n"+DTS-RETRY-ERR-0079:executestatementfailed(.*)MySQLSyntaxErrorException可能原因:目标库不支持报错信息中的SQL语法。
id=34439****,jobId=z48c4r42s8c****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*dts_id=dtsrrrm4ar8v83z6vk*/altertable`xp_ass`.`t_se_db_shop_wi_coef`ADD\ncause:\n\tMySQLSyntaxErrorException:[13000,2022110222143119216819915303151843457]illegalname,pos47,line1,column48,tokenEOF","jobId":"hbsk4mjdr83****","maxRetryTime":7200,"module":"writer","retryCount":3,"retryTarget":"destDB","retryTime":4399,"retrying":true}DTS-RETRY-ERR-0080:Dispersetargetrecordfield(.*)unsupportedvalueconvert可能原因:源端和目标端表结构不一致,DTS无法进行类型转换。
解决方法:请修改目标端表结构,使源端和目标端表结构保持一致,然后重新启动任务。
id=34436****,jobId=wm811y74h1q****,value={"errMsg":"transaction-framework:DTS-71001:DispersetargetrecordfieldupdatetimeSTRINGnullableasupdatetimefailedforrecordLazyParseRecord{offset[726070057],operationType[INSERT],checkpoint[0@726070057@102578064@1807@1667391476000]}\ncause:\n\tJdbcUtilsException:jdbc-utils:DTS-11001:MysqlTimestampValueDisperse:unsupportedvalueconvertfor[2022-11-0220:17:56.0]convertto[updatetimeSTRINGnullableasupdatetime]","jobId":"o7x11euhn1d****","maxRetryTime":7200,"module":"writer","retryCount":55,"retryTarget":"destDB","retryTime":546,"retrying":true}DTS-RETRY-ERR-0081:WSREPhasnotyetpreparednodeforapplicationuse可能原因:数据库异常。
解决方法:请恢复数据库,然后重新启动DTS实例。
id=34436****,jobId=s7i127j4225****,value={"errMsg":"WSREPhasnotyetpreparednodeforapplicationuse@errorcode:1047","jobId":"frjr8yzg17z****","maxRetryTime":43200,"module":"reader","retryCount":1503,"retryTarget":"srcDB","retryTime":15155,"retrying":true}DTS-RETRY-ERR-0082:FailedtodisperserecordLazyParseRecord可能原因:DTS在拼接SQL时出错。
id=34441****,jobId=tidd773a278****,value={"errMsg":"transaction-framework:DTS-71001:FailedtodisperserecordLazyParseRecord{offset[1311857846],operationType[UPDATE],checkpoint[0@1311857846@17610008188031@1667388377000]}inbuildWhereClause.\ncause:\n\tTransactionReplicateException:transaction-replicate:DTS-71001:MysqlRelatedTextSqlBuilderTools:record[LazyParseRecord****DTS-RETRY-ERR-0083:ErrorwhileexecutinguserETL(.*)notfoundin可能原因:ETL语法错误,导致ETL执行失败。
解决方法:根据报错信息检查ETL语法是否配置正确。
id=34441****,jobId=p4d110p0o25****,value={"errMsg":"ETL:DTS--0001:ErrorwhileexecutinguserETL:starttimenotfoundincco_consult_platform_0002.web_chat_session_0263\ncause:\n\tRuntimeException:starttimenotfoundincco_consult_platform_0002.web_chat_session_0263","jobId":"ed611zroy2m****","maxRetryTime":7200,"module":"full","retryCount":14,"retryTarget":"srcDB","retryTime":135,"retrying":true}DTS-RETRY-ERR-0084:User(.*)doesnothave(.*)privilegeon可能原因:任务配置的数据库账号权限不足。
id=34441****,jobId=r5g11018w2m****,value={"errMsg":"[1528a0144000****][11.202.XX.XX:3053][polardbx]ERR-CODE:[TDDL-5108][ERR_CHECK_PRIVILEGE_FAILED_ON_TABLE]Usertest@'100.104.XX.XX'doesnothave'REPLICATION_CLIENT'privilegeontable'person'.Databaseis*.@errorcode:5108","jobId":"fr611dvxq2d****","maxRetryTime":7200,"module":"reader","retryCount":24,"retryTarget":"srcDB","retryTime":220,"retrying":true}DTS-RETRY-ERR-0085:executestatementfailed(.*)modifydecimalcolumnisdisabled可能原因:目标表不允许执行修改列的DDL操作。
id=34445****,jobId=v4kg7039n3m****,value={"errMsg":"Queryexecutionwasinterrupted,max_statement_timeexceeded@errorcode:3006","jobId":"wchy7vcw20m****","maxRetryTime":1800,"module":"reader","retryCount":2,"retryTarget":"srcDB","retryTime":3,"retrying":true}DTS-RETRY-ERR-0087:executestatementfailed(.*)Cannotfindtheobject可能原因1:目标对象不存在。
解决方法1:检查报错信息中的目标对象是否存在。
可能原因2:任务使用的账号权限不足。
解决方法2:检查任务使用的账号是否具有足够的权限。
id=34447****,jobId=q7j108h020a****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:null\ncause:\n\tSQLServerException:Cannotfindtheobject\"lhrdme-test-client-C01.dbo.send_document_task\"becauseitdoesnotexistoryoudonothavepermissions.","jobId":"q8i1043620d****","maxRetryTime":86400,"module":"writer","retryCount":163,"retryTarget":"destDB","retryTime":1636,"retrying":true}DTS-RETRY-ERR-0088:cannotfinddisperserforcolumn可能原因:目标表和源表的列不兼容。
id=34447****,jobId=tpe1121dl2f****,value={"errMsg":"database-framework:DTS-61001:cannotfinddisperserforcolumn:hold_court_timeTIME_WITH_TIMEZONEnullableashold_court_timeoftable:public.lms_lc_casevalueType=value=null","jobId":"rj9113j7m28****","maxRetryTime":7200,"module":"full","retryCount":161,"retryTarget":"destDB","retryTime":1608,"retrying":true}DTS-RETRY-ERR-0089:BatchUpdateException(.*)Cannotinsertexplicitvalueforidentitycolumn可能原因:SQLServer表自增字段默认不能插入数据。
解决方法:将报错信息中的表的IDENTITY_INSERT属性修改为ON,然后重新启动任务。
id=34453****,jobId=jn81159sr3m****,value={"errMsg":"common:DTS-11005:Cannotinsertexplicitvalueforidentitycolumnintable'Card_Msyy'whenIDENTITY_INSERTissettoOFF.\ncause:\n\tBatchUpdateException:Cannotinsertexplicitvalueforidentitycolumnintable'Card_Msyy'whenIDENTITY_INSERTissettoOFF.","jobId":"gl111n9sb33****","maxRetryTime":7200,"module":"full","retryCount":99,"retryTarget":"destDB","retryTime":2686,"retrying":true}DTS-RETRY-ERR-0090:Thequeryhastimedout可能原因:源库发生变更,导致无法查询数据。
解决方法:等待DTS自动重试。
id=34450****,jobId=lh9n33tj30o****,value={"errMsg":"Thequeryhastimedout.@errorcode:0","jobId":"b27g31tn30l****","maxRetryTime":43200,"module":"reader","retryCount":27,"retryTarget":"srcDB","retryTime":810,"retrying":true}DTS-RETRY-ERR-0091:Transaction(.*)wasdeadlockedonlockresourceswithanotherprocess可能原因:数据库事务出现死锁。
id=34453****,jobId=jn81159sr3m****,value={"errMsg":"common:DTS-11005:Transaction(ProcessID187)wasdeadlockedonlockresourceswithanotherprocessandhasbeenchosenasthedeadlockvictim.Rerunthetransaction.\ncause:\n\tSQLServerException:Transaction(ProcessID187)wasdeadlockedonlockresourceswithanotherprocessandhasbeenchosenasthedeadlockvictim.Rerunthetransaction.","jobId":"gl111n9sb33****","maxRetryTime":7200,"module":"full","retryCount":1,"retryTarget":"destDB","retryTime":10,"retrying":true}DTS-RETRY-ERR-0093:gettable(.*)detailinfofailed(.*)relation(.*)doesnotexist可能原因:报错信息中的表不存在。
解决方法:检查源库和目标库中否存在报错信息中的表。若目标库中不存在该表,请手动建表后重新启动任务。
id=34488****,jobId=z65o4ny9c1o****,value={"errMsg":"replicate-greenplum:DTS-70002:gettable[schema=hobby_om,database=hobby_om,table=tp_3321167_ogl_sys_user]detailinfofailed.\ncause:\n\tPSQLException:ERROR:relation\"hobby_om.tp_3321167_ogl_sys_user\"doesnotexist\nPosition:15","jobId":"jdag45haa17****","maxRetryTime":7200,"module":"writer","retryCount":62,"retryTarget":"destDB","retryTime":615,"retrying":true}DTS-RETRY-ERR-0097:executestatementfailed(.*)unsupporteddeletewithoutprimarykeysdefined可能原因:待同步或迁移的表不具备主键或唯一约束。
解决方法:为待同步或迁移的表需添加主键或唯一约束,然后重新启动任务。
id=34484****,jobId=l69119srl3n****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*dts_id=dtss6x11x32l3858ap*/deletefrom`zx`.`tb_abc`where`a`=7and`b`=7and`c`=7and`d`=7\ncause:\n\tSQLException:ADB30Engine(1):meeterror,deleteSQL:/*dts_id=dtss6x11x32l3858ap*/deletefrom`zx`.`tb_abc`where`a`=7and`b`=7and`c`=7and`d`=7,errordetailmessage:[15018,2022110315214019216806122303453480359]table=>zx.tb_abcunsupporteddeletewithoutprimarykeysdefined\n\tSQLException:[15018,2022110315214019216806122303453480359]table=>zx.tb_abcunsupporteddeletewithoutprimarykeysdefined","jobId":"zyu118d2u31****","maxRetryTime":7200,"module":"writer","retryCount":11,"retryTarget":"destDB","retryTime":101,"retrying":true}DTS-RETRY-ERR-0098:gettable(.*)detailinfofailed(.*)Thespecifiedtopicdoesnotexist可能原因:DataHub的Topic不存在。
解决方法:去除目标端报错列的非空约束,然后重新启动任务。
解决方法:请确认报错信息中重名的表是否可以删除。若可以删除,请删除该表并重新启动任务。
id=34497****,jobId=q3d10wi911k****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*dts_id=dtswg2p8k1ve9ko****/renametable`sdinfo`.`sd_manager_group`to`sdinfo`.`sd_manager_grop_1103`\ncause:\n\tSQLException:[15018,2022110321094219216822816803453937381]targettablesdinfo.sd_manager_grop_1103alreadyexists","jobId":"e9u10c7k11y****","maxRetryTime":1800,"module":"writer","retryCount":179,"retryTarget":"destDB","retryTime":1972,"retrying":true}DTS-RETRY-ERR-0101:executestatementfailed(.*)TheMySQLserverisrunningwiththeLOCK_WRITE_GROWTHoption可能原因:目标端磁盘空间不足。
解决方法:升级目标端的磁盘空间,然后重新启动任务。
id=34493****,jobId=jn81159sr3m****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*euy110qoz3vv6ywSQLServerPrepareStatementSqlEngine(30)*/deletetop(1)from[HTOLMain].[dbo].[Cl_Order]where[OrderID]=\ncause:\n\tSQLServerException:IDENTITY_INSERTisalreadyONfortable'HTOLMain.dbo.Cl_Order'.CannotperformSEToperationfortable'HTOLMain.dbo.Cl_OrderItem'.","jobId":"euy110qoz3v****","maxRetryTime":7200,"module":"writer","retryCount":143,"retryTarget":"destDB","retryTime":1429,"retrying":true}DTS-RETRY-ERR-0103:executestatementfailed(.*)column(.*)ofrelation(.*)doesnotexist可能原因:目标端的表缺少列。
解决方法:根据源端的表结构和报错信息,在目标表中添加缺少的列,然后重新启动任务。
id=34488****,jobId=a3y11921r1e****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*f3l11pceo1h85zi29*/insertintodefault$default.\"_QuestionTypesToQuestions\"(a,b)values(,)\ncause:\n\tPSQLException:ERROR:column\"a\"ofrelation\"_QuestionTypesToQuestions\"doesnotexist\nPosition:79","jobId":"f3l11pceo1h****","maxRetryTime":7200,"module":"writer","retryCount":143,"retryTarget":"destDB","retryTime":1436,"retrying":true}DTS-RETRY-ERR-0104:Thetransactionlogfordatabase(.*)isfull可能原因:数据库的事务日志存储空间或磁盘空间已满。
解决方法:扩容事务日志存储空间或磁盘空间,然后重新启动任务。
id=34523****,jobId=f9q11u7qs3w****,value={"errMsg":"common:DTS-11005:Thetransactionlogfordatabase'HTOLMain'isfulldueto'AVAILABILITY_REPLICA'.\ncause:\n\tSQLServerException:Thetransactionlogfordatabase'HTOLMain'isfulldueto'AVAILABILITY_REPLICA'.","jobId":"fg6119hpu3f****","maxRetryTime":7200,"module":"full","retryCount":10,"retryTarget":"destDB","retryTime":251,"retrying":true}DTS-RETRY-ERR-0105:Couldnotallocatespaceforobject可能原因:目标端磁盘空间已满。
id=34523****,jobId=f9q11u7qs3w****,value={"errMsg":"common:DTS-11005:Couldnotallocatespaceforobject'dbo.Cl_OrderItem'.'ix_orderitem_productId'indatabase'HTOLMain'becausethe'PRIMARY'filegroupisfull.Creatediskspacebydeletingunneededfiles,droppingobjectsinthefilegroup,addingadditionalfilestothefilegroup,orsettingautogrowthonforexistingfilesinthefilegroup.\ncause:\n\tSQLServerException:Couldnotallocatespaceforobject'dbo.Cl_OrderItem'.'ix_orderitem_productId'indatabase'HTOLMain'becausethe'PRIMARY'filegroupisfull.Creatediskspacebydeletingunneededfiles,droppingobjectsinthefilegroup,addingadditionalfilestothefilegroup,orsettingautogrowthonforexistingfilesinthefilegroup.","jobId":"fg6119hpu3f****","maxRetryTime":7200,"module":"full","retryCount":102,"retryTarget":"destDB","retryTime":2663,"retrying":true}DTS-RETRY-ERR-0106:Failedtoseeksqlserverposition(.*)Fetchbackuplogfailed(.*)seekbinlogfortimestamp可能原因:任务刚启动时SQLServer根据lsn找不到日志。
可能原因:任务运行过程中SQLServer根据lsn找不到日志。
可能原因:报错信息中字段的数据格式错误。
解决方法:请在目标端修改报错字段的数据格式,然后重新启动任务。
****(Column=>PMS_GOODS.RETAIL_INV_BUFFER),Forinputstring:"0.4300"SQLException:[15018,2022110322280517202801611203151004951](Column=>PMS_GOODS.RETAIL_INV_BUFFER),Forinputstring:"0.4300"DTS-RETRY-ERR-0109:Inprocessofprocessingdata(.*)failed(.*)Column(.*)notfound可能原因:目标端的表缺少列。
\"framework:DTS-31009:Inprocessofprocessingdata(recordRange:627098562752151552)failed\n"+"cause:\n"+"\tCriticalAnyAllException:common:DTS-11005:Column\"\"1658159900711\"\"notfound[42122-193]\n"+"\tDbException:Column\"\"1658159900711\"\"notfound[42122-193]\n"+"\tJdbcSQLException:Column\"\"1658159900711\"\"notfound[42122-193]\"DTS-RETRY-ERR-0110:Inprocessofprocessingdata(.*)failed(.*)RedisServerException(.*)Slaveconnectionclosedbysourceredis可能原因:源端连接已断开。
解决方法:请检查源端数据库健康状态,并适当调大client-output-buffer-limitslave。
您可以执行configsetclient-output-buffer-limit'slave000'命令,关闭复制输出缓冲区的限制。
jobId=fo710zuy27x****,code=04,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:278730492608512)failedcause:RedisServerException:redis:DTS-10015:Slaveconnectionclosedbysourceredis,pleaseread/var/log/messagesandredisserverlogstofindwhichcausedthiserror.Themostprobablereasonisinsufficientmemory,storageorslaveoutputbuffer(configsetclient-output-buffer-limit'slaveXXX').RedisCannotRetryException:redis:DTS-10009:Read1037bytes,butonly374alreadyread.IOException:Read1037bytes,butonly374alreadyread.DTS-RETRY-ERR-0111:executestatementfailed(.*)nullvalueincolumn(.*)violatesnot-nullconstraint可能原因:任务运行过程中有非法数据产生。
解决方法:请检查目标端和源端的表结构是否一致。
jobId=a5oe7ffq12v****,code=07,errMsg=transaction-replicate:DTS-70004:executestatementfailed:/*a5oe7ffq12vy4*****/insertinto"resico_ods"."crm_cooperated_zlb"("id","customer_id","zlb_info","remark","delete_flag","created_by","created_at","updated_by","updated_at","version","entp_name")values(,,,,,,,,,,)cause:PSQLException:ERROR:nullvalueincolumn"customer_id"violatesnot-nullconstraint(seg3172.26.254.254:4001pid=308567)Detail:Failingrowcontains(158738364208513****,null,{"authAt":"2022-11-0117:58:38","customerId":"15611694496311****...,null,0,0,2022-11-0117:58:47,0,2022-11-0117:58:47+08,0,****).DTS-RETRY-ERR-0112:executestatementfailed(.*)nullvalueincolumn(.*)Forinputstring可能原因:任务运行过程中有非法数据产生。
jobId=jg910k6427x****,code=07,errMsg=transaction-replicate:DTS-70004:executestatementfailed:/*dts_id=dtsb5r10cq5265*****/replaceinto`kuaishou_ad_dev`.`rel_ks_creative_master_account`(`master_id`,`account_id`,`updated_at`,`created_at`,`id`,`deleted_at`)values(3,9999999999999,'2022-10-3117:53:46.0','2022-10-3117:53:46.0',28,null)cause:SQLException:ADB30Engine(25):meeterror,insertSQL:/*dts_id=dtsb5r10cq5265*****/replaceinto`kuaishou_ad_dev`.`rel_ks_creative_master_account`(`master_id`,`account_id`,`updated_at`,`created_at`,`id`,`deleted_at`)values(3,9999999999999,'2022-10-3117:53:46.0','2022-10-3117:53:46.0',28,null),errordetailmessage:[15018,2022110118193219216818212703151020339](Column=>REL_KS_CREATIVE_MASTER_ACCOUNT.ACCOUNT_ID),Forinputstring:"9999999999999"SQLException:[15018,2022110118193219216818212703151020339](Column=>REL_KS_CREATIVE_MASTER_ACCOUNT.ACCOUNT_ID),Forinputstring:"9999999999999"DTS-RETRY-ERR-0113:tablenotexist可能原因:目标库中不存在报错信息中的表。
解决方法:在目标表中添加缺少的列,然后重新启动任务。
解决方法:请检查任务使用的数据库账号权限是否满足要求,并检查源库中的表是否存在。
\"common:DTS-11005:framework:DTS-31008:fetchcolumninfofromtargettable[U8CLOUD32CS].[dbo].[po_settlebill_b]failed\n"+"cause:\n"+"\tAnyCoreException:framework:DTS-31008:fetchcolumninfofromtargettable[U8CLOUD32CS].[dbo].[po_settlebill_b]failed\n"+"\tRuntimeException:com.microsoft.sqlserver.jdbc.SQLServerException:Theserverprincipal\"\"erp_user\"\"isnotabletoaccessthedatabase\"\"U8CLOUD32CS\"\"underthecurrentsecuritycontext.\n"+"\tSQLServerException:Theserverprincipal\"\"erp_user\"\"isnotabletoaccessthedatabase\"\"U8CLOUD32CS\"\"underthecurrentsecuritycontext.\"DTS-RETRY-ERR-0124:ChangedatacaptureisonlyavailableintheEnterprise可能原因:当前SQLServer实例不支持开启CDC(ChangeDataCapture,变更数据捕获)。
解决方法:检查该实例版本是否支持开启CDC。
ThisinstanceofSQLServeristheWebEdition(64-bit).ChangedatacaptureisonlyavailableintheEnterprise,Developer,EnterpriseEvaluation,andStandardeditions.DTS-RETRY-ERR-0125:MongoCommandException(.*)interruptedatshutdown可能原因:MongoDB实例状态异常。
解决方法:请检查MongoDB实例是否运行正常。
\"common:DTS-11005:com.mongodb.MongoCommandException:Commandfailedwitherror11600:'interruptedatshutdown'onserver172.19.XX.XX:XXX.Thefullresponseis{\"\"ok\"\":0.0,\"\"errmsg\"\":\"\"interruptedatshutdown\"\",\"\"code\"\":11600,\"\"codeName\"\":\"\"InterruptedAtShutdown\"\"}\n"+"cause:\n"+"\tSQLException:com.mongodb.MongoCommandException:Commandfailedwitherror11600:'interruptedatshutdown'onserver172.19.XX.XX:XXX.Thefullresponseis{\"\"ok\"\":0.0,\"\"errmsg\"\":\"\"interruptedatshutdown\"\",\"\"code\"\":11600,\"\"codeName\"\":\"\"InterruptedAtShutdown\"\"}\n"+"\tMongoCommandException:Commandfailedwitherror11600:'interruptedatshutdown'onserver172.19.XX.XX:XXX.Thefullresponseis{\"\"ok\"\":0.0,\"\"errmsg\"\":\"\"interruptedatshutdown\"\",\"\"code\"\":11600,\"\"codeName\"\":\"\"InterruptedAtShutdown\"\"}\"DTS-RETRY-ERR-0126:MongoCommandException(.*)Indexmusthaveuniquename可能原因:需要创建的索引已经存在,无法重复创建。
解决方法:检查是否有同名的索引。若有可以删除的同名索引,请删除后重新启动任务。
com.mongodb.MongoCommandException:Commandfailedwitherror86:'Indexmusthaveuniquename.Theexistingindex:{v:2,key:{fund_wallet_id:1},name:"fund_wallet_id_1",ns:"airmart-watbg-prod.funds_pools",background:true}hasthesamenameastherequestedindex:{v:2,key:{fund_wallet_id:-1},name:"fund_wallet_id_1",ns:"airmart-watbg-prod.funds_pools",background:true}'onserver172.19.XX.XX:XXX.Thefullresponseis{"raw":{"mgset-62336776/10.42.XX.XX:XXX,10.42.XX.XX:XXX":{"ok":0.0,"errmsg":"Indexmusthaveuniquename.****DTS-RETRY-ERR-0127:MongoCommandException(.*)cloudinstanceerror(.*)disklocked可能原因:MongoDB实例的磁盘被锁定,无法写入数据。
解决方法:检查MongoDB实例的磁盘空间是否已满,若磁盘空间已满尝,请扩容实例并重新启动任务。
\"common:DTS-11005:com.mongodb.MongoCommandException:Commandfailedwitherror13:'cloudinstanceerror,disklocked,plzcheckandupgradeyourdiskquota,extrainfo:notauthorizedonxmoltoexecutecommand{insert:\"\"thesisRedirectLogs\"\",ordered:true,bypassDocumentValidation:true,$db:\"\"xmol\"\"}'onserver172.16.19.23:42976.Thefullresponseis{\"\"operationTime\"\":{\"\"$timestamp\"\":{\"\"t\"\":1666348500,\"\"i\"\":3392}},\"\"ok\"\":0.0,\"\"errmsg\"\":\"\"cloudinstanceerror,disklocked,plzcheckandupgradeyourdiskquota,extrainfo:****DTS-RETRY-ERR-0128:Unknowndatabase可能原因:数据库不存在。
解决方法:创建报错信息中的数据库,并重新启动任务。
jobId=sw01037i31w****,code=04,errMsg=com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Unknowndatabase'table3'DTS-RETRY-ERR-0129:Thetable(.*)isfull可能原因1:目标实例的磁盘空间已满。
报错示例1:
jobId=zoa119hcy3m****,code=03,errMsg=framework:DTS-30011:currentRunningSQL:/*DTS-full-zoa119hcy3m*****/insertignoreinto`statistics`.`t_mem_keyword_log`(`createtime`,`keyword_id`,`mem_id`,`ip`,`channel`,`id`,`source`,`TYPE`)VALUES(,,,,,,,),reason:Thetable't_mem_keyword_log'isfullcause:BatchUpdateException:Thetable't_mem_keyword_log'isfullSQLException:Thetable'DTSTEST'isfull可能原因2:临时表达到使用上限。
报错示例2:
YouareusingtheMEMORY(HEAP)storageengine;inthiscaseyouneedtoincreasethevalueofthemax_heap_table_sizesystemvariable.SeeSection5.1.3,“ServerSystemVariables”.ERROR1114(HY000)atline1720:Thetable'XXXX'isfullDTS-RETRY-ERR-0130:BatchUpdateException(.*)entrytoolarge可能原因:写入的数据量过大,超过设置的值。
解决方法:将max_allowed_packet参数的值设置的满足要求。
报错示例:如下报错信息,表示写入的数据量(7956719)过大,超过了设置的值(6291456)。
jobId=t7s100u5319****,code=03,errMsg=framework:DTS-30011:currentRunningSQL:/*DTS-full-t7s100u5319*****/insertignoreinto`dcr_file_service`.`t_file_task`(`reason`,`company_id`,`create_time`,`entity_name`,`user_name`,`end_time`,`remark`,`sort`,`type`,`finish_time`,`enabled_flag`,`start_time`,`update_time`,`update_user`,`user_code`,`user_id`,`id`,`create_user`,`json_param`,`status`)VALUES(,,,,,,,,,,,,,,,,,,,),reason:entrytoolarge,themaxentrysizeis6291456,thesizeofdatais7956719cause:BatchUpdateException:entrytoolarge,themaxentrysizeis6291456,thesizeofdatais7956719SQLException:entrytoolarge,themaxentrysizeis6291456,thesizeofdatais7956719DTS-RETRY-ERR-0131:BatchUpdateException(.*)Nospaceleftondevice可能原因:DTS磁盘空间已满。
jobId=wb611p3ef1h****,code=03,errMsg=framework:DTS-30011:currentRunningSQL:/*DTS-full-wb611p3ef1h*****/insertignoreinto`dcs_ford_sale`.`tm_dcc_alloc_price_bak11`(`id`,`material_id`,`dealer_id`,`price_type`,`buy_type`,`origin`,`eff_date_from`,`eff_date_to`,`price`,`qty`,`qty_remain`,`status`,`psbi_create_date`,`create_date`,`update_date`,`ver`,`ver_date`,`update_by`,`src`,`sap_no`,`invoice_company`,`contract_no`,`xx_price_type`)VALUES(,,,,,,,,,,,,,,,,,,,,,,),reason:Can'tcreate/writetofile'/tmp/MLHer8ya'(OSerrno28-Nospaceleftondevice)cause:BatchUpdateException:Can'tcreate/writetofile'/tmp/MLHer8ya'(OSerrno28-Nospaceleftondevice)SQLException:Can'tcreate/writetofile'/tmp/MLHer8ya'(OSerrno28-Nospaceleftondevice)DTS-RETRY-ERR-0133:fetchcolumninfofromtargettable(.*)failed(.*)Invalidobjectname可能原因:目标库中报错信息中的表不存在。
解决方法:在目标库中根据报错信息和源库中的表信息创建表,然后重新启动任务。
jobId=sbl11ksji16****,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromtargettable[datang].[dbo].[SheBao_Source_1]failedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromtargettable[datang].[dbo].[SheBao_Source_1]failedRuntimeException:com.microsoft.sqlserver.jdbc.SQLServerException:Invalidobjectname'datang.dbo.SheBao_Source_1'.SQLServerException:Invalidobjectname'datang.dbo.SheBao_Source_1'.DTS-RETRY-ERR-0134:fetchcolumninfofromtargettable(.*)failed可能原因1:目标表缺少列,导致DTS获取列信息失败。
解决方法1:请确保报错信息中的表中存在相应的列,然后重新启动任务。
可能原因2:DTS任务使用的数据库账号权限不足,导致DTS获取列信息失败。
解决方法2:请确保任务中使用的数据库账号有该表的读写权限,然后重新启动任务。
可能原因3:目标实例max_stack_depth的参数值过小。
可能原因4:Elasticsearch中的目标索引为滚动索引。
解决方法4:DTS暂不支持滚动索引。
可能原因5:目标表中存在与源表精度不兼容的列。
解决方法5:请检查源表与目标表列的精度,并根据实际情况修改目标表的精度,然后重新启动任务。
jobId=im6t3ajs21m****,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromtargettabledts_work.exercise_question_linksfailedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromtargettabledts_work.exercise_question_linksfailedNullPointerException:nullDTS-RETRY-ERR-0135:Packetforqueryistoolargemax_allowed_packet可能原因:max_allowed_packet的值小于packet的实际值。
解决方法:请确保max_allowed_packet的值设置的大于packet的实际值,然后重新启动任务。
"framework:DTS-30011:currentRunningSQL:/*DTS-full-akl10d9m27u*****/insertignoreinto`zeda`.`log`(`response_data`,`respond_message`,`ua_client`,`request_message`,`ip`,`module`,`ua_os`,`type`,`router`,`request_time`,`user_id`,`p_router`,`ua_device`,`response_time`,`id`,`api`,`username`)VALUES(,,,,,,,,,,,,,,,,),reason:Packetforqueryistoolarge(74,694,508>67,108,864).Youcanchangethisvalueontheserverbysettingthe'max_allowed_packet'variable.cause:BatchUpdateException:Packetforqueryistoolarge(74,694,508>67,108,864).Youcanchangethisvalueontheserverbysettingthe'max_allowed_packet'variable.PacketTooBigException:Packetforqueryistoolarge(74,694,508>67,108,864).Youcanchangethisvalueontheserverbysettingthe'max_allowed_packet'variable."DTS-RETRY-ERR-0136:Getdballschemaserror(.*)Queryexecutionwasinterrupted可能原因:查询源库Schema超时。
解决方法:请重新启动任务。
DTS不支持单机版MongoDB为源的增量任务。
jobId=x4l112aas19****,code=15,errMsg=dts-k-src:DTS-52111:IncrementContextIsNotRunning..:cause:CriticalAnyAllException:mongo-reader:DTS-52710:logfetchfailedCriticalAnyAllException:mongo-reader:DTS-52702:FirstRecordTimestampnotcorrect,startPositionis:Timestamp{value=7160854279467565057,seconds=1667266311,inc=1},recordtsis:nullDTS-RETRY-ERR-0138:IncrementContextIsNotRunning(.*)DTS-52233(.*)Invalidrowformat可能原因:binlog_format的参数值不为row。
解决方法:请将binlog_format的参数值设置为row,并使用KILL命令关闭源库所有的Session,然后重新配置任务。
jobId=v2o117kyi13****,code=15,errMsg=dts-k-src:DTS-52111:IncrementContextIsNotRunning..:cause:CriticalAnyAllException:mysql-reader:DTS-52210:fetchlogfailedIOException:mysql-reader:DTS-52233:Invalidrowformat:"INSERTINTO`apowo_manager_log`(`user`,`time`,`cname`,`c`,`m`,`uri`,`get`,`post`)VALUES('zhangzhicheng',1667284446,'****','activityconfig','repush','activityconfig/repush/22073','[]','[]')"CriticalAnyAllException:mysql-reader:DTS-52233:Invalidrowformat:"INSERTINTO`apowo_manager_log`(`user`,`time`,`cname`,`c`,`m`,`uri`,`get`,`post`)VALUES('zhangzhicheng',1667284446,'****','activityconfig','repush','activityconfig/repush/22073','[]','[]')"DTS-RETRY-ERR-0139:IncrementContextIsNotRunning(.*)FirstRecordTimestampnotcorrect可能原因:源库的Binlog已不存在,导致DTS增量数据采集获取不到对应数据。
解决方法:请重新配置任务。
\"bisId【e3g10360215****】runfailby【****】,errorMsg:cluster[q4110pkw21t****]forchannel[e3g10360215****]status[failed]isabnormal.errMsg:dts-k-src:DTS-52111:IncrementContextIsNotRunning..:\n"+"cause:\n"+"\tCriticalAnyAllException:mongo-reader:DTS-52710:logfetchfailed\n"+"\tCriticalAnyAllException:mongo-reader:DTS-52702:FirstRecordTimestampnotcorrect,startPositionis:Timestamp{value=7156853964107939841,seconds=1666334915,inc=1},recordtsis:null\"DTS-RETRY-ERR-0140:MirrorMetaerror(.*)tableorviewdoesnotexist可能原因1:表或者视图不存在。
解决方法1:请检查对应表或者视图是否存在。
可能原因2:任务使用的数据库账号权限不足。
解决方法2:检查任务使用的账号是否有对应表或者视图的读取权限。
jobId=s9v11f9at1f****,code=15,errMsg=dts-k-src:DTS-52102:retryfinalfailedcause:RecoverableAnyAllException:dts-k-src:DTS-52110:OracleRecordExtractorInitError:oracle-reader:DTS-52050:MirrorMetaerror,CriticalAnyAllException:oracle-reader:DTS-52050:MirrorMetaerror,CriticalAnyAllException:oracle-reader:DTS-52050:MirrormetafailedCriticalAnyAllException:oracle-reader:DTS--0002:Cannotcreateconnectiontosourcedatabase,casebyORA-00942:tableorviewdoesnotexistSQLSyntaxErrorException:ORA-00942:tableorviewdoesnotexistDTS-RETRY-ERR-0141:ThistypeofSQLisnotsupportedbygroupshard可能原因:源库执行的SQL在目标库groupshard不支持。
\"dts-k-src:DTS-52102:retryfinalfailed\n"+"cause:\n"+"\tRecoverableAnyAllException:dts-k-src:DTS-52110:MySQLRecordExtractorInitError:mysql-reader:DTS-52060:initialfetchpositionfailed\n"+"\tCriticalAnyAllException:mysql-reader:DTS-52060:initialfetchpositionfailed\n"+"\tIOException:java.sql.SQLException:ProxyERROR:ThistypeofSQLisnotsupportedbygroupshard\n"+"\tSQLException:ProxyERROR:ThistypeofSQLisnotsupportedbygroupshard\"DTS-RETRY-ERR-0142:Specifiedkeywastoolong可能原因:MySQL的InnoDB引擎支持的表索引字段最大长度为767字节。
Specifiedkeywastoolong;maxkeylengthis767bytes.DTS-RETRY-ERR-0143:emptybinloglistinoss可能原因:DTS无法从OSS获取指定的Binlog。
id=35746****,jobId=dya1106628z****,value={"errMsg":"dts-k-src:DTS-52110:MySQLRecordExtractorInitError:mysql-reader:DTS-52222:emptybinloglistinoss,srcrdsinstance=rm-bp1w2cl72i6in****,starttime=1669619166,endtime=1669905430","jobId":"t1d11sbo28z****","maxRetryTime":43200,"module":"reader","retryCount":30,"retryTarget":"srcDB","retryTime":1235,"retrying":true}DTS-RETRY-ERR-0144:emptybinloglistin可能原因:DTS无法获取指定的Binlog。
id=357528****,jobId=udy119n2167*****,value={"errMsg":"dts-k-src:DTS-52110:MySQLRecordExtractorInitError:mysql-reader:DTS-52222:emptybinloglistin","jobId":"jer122l6i1j****","maxRetryTime":43200,"module":"reader","retryCount":2,"retryTarget":"srcDB","retryTime":592,"retrying":true}DTS-RETRY-ERR-0145:Unknowncolumn(.*)in可能原因:当前任务配置的过滤条件中的字段,在源库中不存在。
id=35746****,jobId=wzl12d7ie1g****,value={"errMsg":"framework:DTS-30020:executesql:/*DTS-full-ykb12oe6k1n*****/SELECT`output`,`failed_times`,`input`,`created_time`,`biz_code`,`modified_time`,`next_exec_time`,`tx_id`,`biz_id`,`processor`,`tx_state`FROM`test_x7sy_com`.`sy_order_mgmt_local_tx_log`WHERE(create_time<1667232000)-->(null,null)recordrangeid=403027421250872****,fetchSize=-2147483648\ncause:\n\tMySQLSyntaxErrorException:Unknowncolumn'create_time'in'whereclause'","jobId":"ykb12oe6k1n****","maxRetryTime":43200,"module":"full","retryCount":110,"retryTarget":"srcDB","retryTime":1103,"retrying":true}DTS-RETRY-ERR-0146:Connectionreset可能原因:当前任务与源库的连接被重置。
id=35749****,jobId=j5h12gsco18****,value={"errMsg":"ConnectionresetClientConnectionId:b7773844-5bf4-4439-83a7-f153f69f9601@errorcode:0","jobId":"cjs127rbb1k****","maxRetryTime":43200,"module":"reader","retryCount":61,"retryTarget":"srcDB","retryTime":915,"retrying":true}DTS-RETRY-ERR-0147:YouhaveanerrorinyourSQLsyntax可能原因:当前任务配置的过滤条件中的字段,在源库中不存在。
id=35749****,jobId=k66125z4n1p****,value={"errMsg":"framework:DTS-30020:executesql:/*DTS-full-aqb12ji5f1t*****/SELECT****fetchSize=-2147483648\ncause:\n\tSQLSyntaxErrorException:YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoyourMySQLserverversionfortherightsyntaxtousenear****}DTS-RETRY-ERR-0148:Youarenotusingbinarylogging可能原因:当前MySQL数据库实例不支持执行showbinarylogs命令。
解决方法:请升级MySQL数据库实例的版本,然后重新启动任务。
id=35757****,jobId=udy119n2167****,value={"errMsg":"Youarenotusingbinarylogging@errorcode:1381","jobId":"jer122l6i1j****","maxRetryTime":43200,"module":"reader","retryCount":6,"retryTarget":"srcDB","retryTime":40,"retrying":true}DTS-RETRY-ERR-0149:nopartitionforpartitioningkey可能原因:目标端字段所对应的分片不存在。
解决方法:在目标端添加相应的分片,然后重新启动任务。
id=35756****,jobId=tlld17b825q****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*izmq1hx325617*****/insertinto\"public\".\"order_req_pur_dt_his\"(\"bill_plu_id\",\"bill_no\",\"serial_no\",\"plu_id\",\"plu_code\",\"plu_name\",\"bar_code\",\"pack_id\",\"pack_code\",\"pack_name\",\"pack_rate\",\"unit\",\"pack_num\",\"pur_num\",\"audit_pack_num\",\"audit_num\",\"in_pur_price\",\"pur_in_total\",\"audit_in_total\",\"pur_type\",\"sal_price\",\"sal_total\",\"audit_sal_total\",\"stk_count\",\"udp1\",\"udp2\",\"remark\",\"rec_org_id\",\"pur_date\")values(,,,,,,,,,,,,,,,,,,,,,,,,,,,,)\ncause:\n\tPSQLException:ERROR:nopartitionforpartitioningkey(seg0172.30.XX.XX:XXXpid=2776787)","jobId":"izmq1hx325617r6","maxRetryTime":1800,"module":"writer","retryCount":125,"retryTarget":"destDB","retryTime":1374,"retrying":true}DTS-RETRY-ERR-0150:nitialdictionaryfailed可能原因:源端数据库连接失败,导致DTS初始化失败。
id=35755****,jobId=qs2p4wxqw83****,value={"errMsg":"dts-k-src:DTS-52110:MySQLRecordExtractorInitError:mysql-reader:DTS-52051:initialdictionaryfailed","jobId":"zzo12r9zo1g****","maxRetryTime":7200,"module":"reader","retryCount":30,"retryTarget":"srcDB","retryTime":1136,"retrying":true}DTS-RETRY-ERR-0151:TheNetworkAdaptercouldnotestablishtheconnection可能原因:由于网络原因,导致DTS无法正常连接数据库。
id=35755****,jobId=j16i46pbc63****,value={"errMsg":"IOError:TheNetworkAdaptercouldnotestablishtheconnection@errorcode:17002","jobId":"t1g12r9ka1q****","maxRetryTime":43200,"module":"reader","retryCount":47,"retryTarget":"srcDB","retryTime":1881,"retrying":true}DTS-RETRY-ERR-0152:cannotopenarchivedlog(.*)Nosuchfileordirectory可能原因:Oracle日志文件不存在。
id=35754****,jobId=tzv11059292****,value={"errMsg":"ORA-01284:file/sapdb/oracle/oraarch/EP2001/1_139037_1063496101.dbfcannotbeopened\nORA-00308:cannotopenarchivedlog'/sapdb/oracle/oraarch/EP2001/1_139037_1063496101.dbf'\nORA-27037:unabletoobtainfilestatus\nLinux-x86_64Error:2:Nosuchfileordirectory\nAdditionalinformation:7\nORA-06512:at\"SYS.DBMS_LOGMNR\",line82\nORA-06512:atline2\n@errorcode:","jobId":"q83122m2k19****","maxRetryTime":43200,"module":"reader","retryCount":11208,"retryTarget":"srcDB","retryTime":2999,"retrying":true}DTS-RETRY-ERR-0154:odps(.*)Thespecifiedpartitiondoesnotexist可能原因:目标库中报错信息中的表不存在。
jobId=vov11qjl30c****,code=04,errMsg=redis.clients.jedis.exceptions.JedisDataException:OOMcommandnotallowedwhenusedmemory>'maxmemory'.DTS-RETRY-ERR-0156:Thisfunctionhasnoneof可能原因:当前数据库的配置不正确。
解决方法:手动执行setlog_bin_trust_function_creators=1,然后重新启动任务。
解决方法:请修改列名,然后重新启动任务。
jobId=or81144k303****,code=02,errMsg=[13000,202211302315061921681441470345301****]Incorrectcolumnname:`€?o§.DTS-RETRY-ERR-0158:Failedtogetglobaltablelockfor可能原因:当前数据库不支持1个事务操作多个表。
jobId=q8k11raf309****,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromtargettablesnt8888_eb.amazon_ad_keywords_report_detailfailedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromtargettablesnt8888_eb.amazon_ad_keywords_report_detailfailedCriticalAnyAllException:full-mysql:DTS-61008:FetchmetainfofailedSQLException:Failedtogetglobaltablelockfor'snt8888_eb.amazon_ad_keywords_report_detail'jobId=q8k11raf309k04d,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromtargettableajcx_wms.4px_odafailedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromtargettableajcx_wms.4px_odafailedCriticalAnyAllException:full-mysql:DTS-61008:FetchmetainfofailedSQLException:Failedtogetglobaltablelockfor'ajcx_wms.4px_oda'DTS-RETRY-ERR-0159:Column(.*)cannotbenull可能原因:目标端有非空约束,导致写入null值时报错。
解决方法:修改目标字段约束,去掉notnull约束。
jobId=ccf11aiz18j****,code=04,errMsg=DTS-077105:RecordReplicatorerrorintableCARGONEST_RATE.SCYX_FLIGHT.causeby[java.sql.SQLIntegrityConstraintViolationException:Column'USE'cannotbenull]Aboutmoreinformationin****DTS-RETRY-ERR-0161:FirstRecordTimestampnotcorrect可能原因:获取不到位点的日志信息。
解决方法:请确认日志状态。若日志状态异常,请修复日之后重新启动任务;若日志状态正常,请重新配置任务。
jobId=eq2126nwc16****,code=15,errMsg=dts-k-src:DTS-52111:IncrementContextIsNotRunning..:cause:CriticalAnyAllException:mongo-reader:DTS-52710:logfetchfailedCriticalAnyAllException:mongo-reader:DTS-52702:FirstRecordTimestampnotcorrect,startPositionis:Timestamp{value=7171932524837339137,seconds=1669845666,inc=1},recordtsis:nullDTS-RETRY-ERR-0162:cannotfindindexbytable可能原因:Elasticsearch缺少INDEX。
解决方法:手动在Elasticsearch中创建INDEX,然后重新启任务。
jobId=v3w11of923k****,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromtargettableoperation.inspection_product_index/inspection_productfailedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromtargettableoperation.inspection_product_index/inspection_productfailedRuntimeException:es:DTS-11014:cannotfindindexbytable=inspection_product_index,schema=null,database=operation,mapping=inspection_productCriticalAnyAllException:es:DTS-11014:cannotfindindexbytable=inspection_product_index,schema=null,database=operation,mapping=inspection_productDTS-RETRY-ERR-0163:Theststokenisdenied可能原因:STSToken过期。
解决方法:请检查数据库配置的最大连接数以及数据库占用连接的数量,根据结果做相应的修改后(如修改数据库的最大连接数的参数max_connections),然后重新启动任务。
jobId=yof12l14o19****8635,code=03,errMsg=jdbc-burst:DTS-61015:Createconnectionfailed(url:172.18.XX.XX:XXX,user:yj_gusb_root)cause:MySQLNonTransientConnectionException:ToomanyconnectionsDTS-RETRY-ERR-0165:seekbinlogfortimestamp(.*)notexits可能原因:源MySQL数据库实例的Binlog已被清理。
jobId=sptc8p3x129****,code=15,errMsg=dts-k-src:DTS-52102:retryfinalfailedcause:RecoverableAnyAllException:dts-k-src:DTS-52110:MySQLRecordExtractorInitError:mysql-reader:DTS-52212:MySQLbinlog1660282274isnotexists.CriticalAnyAllException:mysql-reader:DTS-52212:MySQLbinlog1660282274isnotexists.IOException:java.sql.SQLException:seekbinlogfortimestamp1660282274,notexits.SQLException:seekbinlogfortimestamp1660282274,notexits.DTS-RETRY-ERR-0167:theTable(.*)InformationLoadedfailedinTargetDB可能原因:目标端的Schema不存在。
解决方法:请确保目标端的Schema存在,且任务配置正确,然后重新启动任务。
jobId=lg612z5iq1x****,code=07,errMsg=DTS-071001:theTableanta_mw_stock_prod.stk_virtualstocklocklogInformationLoadedfailedinTargetDB.causeby[[17001,2022120116320501021111713303151290766]schemanotexist=>anta_mw_stock_prod]Aboutmoreinformationin****DTS-RETRY-ERR-0168:AUNIQUEINDEXmustincludeallcolumnsinthetable'spartitioningfunction可能原因:唯一索引没有包含表分区函数中的所有列。
解决方法:修改索引唯一索引,使其包含表分区函数中的所有列。
jobId=beu12x8vd1l****,code=02,errMsg=AUNIQUEINDEXmustincludeallcolumnsinthetable'spartitioningfunction.DTS-RETRY-ERR-0169:Cannotfindwherecolumn(.*)inbeforeimageofrecord可能原因:聚集索引列不包含主键列,而SQLServer的UPDATE语句只能解析出聚集索引列的前镜像值。
解决方法:修改聚集索引使其包含主键列,然后重新启动任务。
id=35938****,jobId=slr122e2h5y****,value={"errMsg":"transaction-framework:DTS-70029:CannotfindwherecolumninbeforeimageofrecordLazyParseRecord{offset[465035],operationType[UPDATE],checkpoint[0@483462@0008b7dd:00019ab8:0002@1670195470000]}","jobId":"jqr12oeww55****","maxRetryTime":43200,"module":"writer","retryCount":19,"retryTarget":"destDB","retryTime":182,"retrying":true}DTS-RETRY-ERR-0170:Cannotinsertduplicatekeyrowinobject可能原因:由于存在开启的触发器,导致主键冲突而写入失败。
解决方法:请禁用或删除触发器,然后重新启动任务。
id=35945****,jobId=p2611skq18s****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*dc4112pf18696rtSQLServerPrepareStatementSqlEngine(23)*/insertinto[zjnb].[dbo].[yw_hddz_fsdz]([dzdm],[cxh],[dzbh],[id],[ywbh],[bgid])values(,,,,,)\ncause:\n\tSQLServerException:Cannotinsertduplicatekeyrowinobject'dbo.yw_hddz_fsdz'withuniqueindex'yw_hddz_fsdz_index'.Theduplicatekeyvalueis(22DP01833,0).","jobId":"dc4112pf186****","maxRetryTime":1800,"module":"writer","retryCount":98,"retryTarget":"destDB","retryTime":1511,"retrying":true}DTS-RETRY-ERR-0171:Theserverexperiencedanunexpectederrorwhenprocessingtherequest可能原因:增量数据采集模块异常。
id=35956****,jobId=kk411xezf49****,value={"errMsg":"dts-k-src:DTS-52122:ErroronSend.Theserverexperiencedanunexpectederrorwhenprocessingtherequest","jobId":"vag1121af47****","maxRetryTime":43200,"module":"reader","retryCount":0,"retryTarget":"dstore","retryTime":1,"retrying":true}DTS-RETRY-ERR-0172:TheINSERTstatementconflictedwiththeFOREIGNKEYconstraint可能原因:由于目标库中有已启用的外键,导致数据写入失败。
解决方法:请禁用或删除外键,然后重新启动任务。
id=35955****,jobId=s0s12libr5m****,value={"errMsg":"common:DTS-11005:TheINSERTstatementconflictedwiththeFOREIGNKEYconstraint\"file_qc_number_testing_id_a9e3abb7_fk_dimension_testing_testing_id\".Theconflictoccurredindatabase\"tyDbTest\",table\"dbo.dimension_testing\",column'testing_id'.\ncause:\n\tBatchUpdateException:TheINSERTstatementconflictedwiththeFOREIGNKEYconstraint\"file_qc_number_testing_id_a9e3abb7_fk_dimension_testing_testing_id\".Theconflictoccurredindatabase\"tyDbTest\",table\"dbo.dimension_testing\",column'testing_id'.","jobId":"rn9120w5g5k****","maxRetryTime":43200,"module":"full","retryCount":49,"retryTarget":"destDB","retryTime":1751,"retrying":true}DTS-RETRY-ERR-0173:unsupportedvalueconvertfor可能原因:源端和目标端表结构不一致,DTS无法进行类型转换。
id=35955****,jobId=a1s126u5s54****,value={"errMsg":"jdbc-utils:DTS-11001:jdbc-utils:DTS-11001:Adb30StringDisperse:unsupportedvalueconvertfor[2023-01-0101:00:00]convertto[create_timeDATEnullableascreate_time]targetDatabase:crmtargetTable:orders\ncause:\n\tJdbcUtilsException:jdbc-utils:DTS-11001:Adb30StringDisperse:unsupportedvalueconvertfor[2023-01-0101:00:00]convertto[create_timeDATEnullableascreate_time]","jobId":"c28120pby5n****","maxRetryTime":43200,"module":"writer","retryCount":223,"retryTarget":"destDB","retryTime":2240,"retrying":true}DTS-RETRY-ERR-0174:ETL(.*)notfoundin可能原因:ETL的数据处理语句错误,应使用源库的表名和列名。
jobId=x9611z8z28s****,code=07,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:572237829218343****)failedcause:CriticalAnyAllException:ETL:DTS--0001:ErrorwhileexecutinguserETL:dt_nownotfoundinfillmed_import.membership_customer_detailRuntimeException:dt_nownotfoundinfillmed_import.membership_customer_detailDTS-RETRY-ERR-0175:Connectdbfailure可能原因:无法连接到源端数据库。
jobId=hedw7wu7z60****,code=02,errMsg=DTS-002003Connectdbfailure,unknowdburljdbc:postgresql://100.100.XX.XX:XXX/testdb,pleasevaildurl.Originalerror:Theconnectionattemptfailed.Formoreinformationpleasereferto****DTS-RETRY-ERR-0176:toomanyconnectionsforrole可能原因:数据库的连接数量达到上限。
jobId=yyh128cwc5h****,code=02,errMsg=initjobfailFATAL:toomanyconnectionsforrole"inventory_prod_ad_readonly"DTS-RETRY-ERR-0177:numericfieldoverflow可能原因:目标端和源端表结构不匹配。
解决方法:请修改目标端表的结构,使目标端列的类型和源库一致,然后重新启动任务。
jobId=er411gx1251****,code=03,errMsg=full-greenplum:DTS-65708:copyerror,recordRange=****cause:PSQLException:ERROR:numericfieldoverflow****DTS-RETRY-ERR-0178:JedisDataException(.*)ERR(.*)commandkeysmustinsameslot可能原因:传入的key不在同一个slot。
解决方法:Lua脚本为保证事务的原子性,传入的key必须在同一个slot中,请修改相应的语法后重新启动任务。
jobId=xd6121n2d5e****,code=04,errMsg=redis.clients.jedis.exceptions.JedisDataException:ERR'EVAL'commandkeysmustinsameslotDTS-RETRY-ERR-0179:ADB30Engine(.*)COMMAisnotvaluetype可能原因:SQL语法错误(逗号不是合法的取值类型)。
解决方法:请纠正相应的SQL,然后重新启动任务。
jobId=chzi9boc27z****,code=07,errMsg=transaction-replicate:DTS-70004:executestatementfailed:/*dts_id=dtsc0pg9ems27y*****/replaceinto`inhouse`.`grain_category_template`****errordetailmessage:[15018,202212051752081921681240150345324****]syntaxerror:syntaxerror=>COMMAisnotvaluetype,pos:558row:0andceil:1SQLException:[15018,202212051752081921681240150345324****]syntaxerror:syntaxerror=>COMMAisnotvaluetype,pos:558row:0andceil:1DTS-RETRY-ERR-0180:Schemamatchedfailed可能原因:目标端Schema匹配失败。
解决方法:修改目标端表结构使其与源端表结构一致,然后重新启动任务。
开启多表归并功能的任务不支持DDL操作。
jobId=i9c12l3kn1m****,code=03,errMsg=full-postgresql:DTS-65708:copyerror,recordRange={id:364619936051914****,schema:saasv4.C_REPORT,indexName:,fields:[DJNAMESTRINGnullableunique],leftValues:[null],rightValues:[null],partition:null},copySql=/*DTS-full-i9c12l3kn1m*****//*DTS-full-i9c12l3kn1m*****/COPY"saasv4".c_report("fanganid","fanganname","fangandes","djname","updated","fangan")FROMSTDINDELIMITER'|'ESCAPE'\'CSVQUOTE'"'cause:PSQLException:ERROR:invalidhexadecimaldigit:"<"Where:COPYc_report,line1,columnfangan:" jobId=sj112p70c50****,code=02,errMsg=REFERENCEScommanddeniedtouser'qianyi_dts'@'100.104.XX.XX'fortable'dbdj_lance.extauth_user'.****DTS-RETRY-ERR-0183:MySQLtable(.*)binlogcolumncountcheckerror可能原因:报错信息的表在Binlog的列数与在DTS中的列数不一致。 解决方法:检查报错信息中是否有localcountis0: jobId=oh9111i723x****,code=15,errMsg=dts-k-src:DTS-52111:IncrementContextIsNotRunning..:mysql-reader:DTS-52210:fetchlogfailedcause:IOException:mysql-reader:DTS-52234:MySQLtabledxl_shops.sys_modulebinlogcolumncountcheckerror,localcountis0,butbinlogcountis15,atoffset162@25064****.CriticalAnyAllException:mysql-reader:DTS-52234:MySQLtabledxl_shops.sys_modulebinlogcolumncountcheckerror,localcountis0,butbinlogcountis15,atoffset162@25064****.DTS-RETRY-ERR-0184:CLIENT_PLUGIN_AUTHisrequired可能原因:数据库连接异常。 id=36512****,jobId=r5e120d1u5u****,value={"errMsg":"CLIENT_PLUGIN_AUTHisrequired@errorcode:0","jobId":"xu812lh7i5p****","maxRetryTime":43200,"module":"reader","retryCount":745,"retryTarget":"srcDB","retryTime":9911,"retrying":true}DTS-RETRY-ERR-0185:ADB30Engine(.*)Forinputstring可能原因:报错信息涉及的目标表结构不兼容源库的值。 解决方法:修改目标表列的类型,使其与源库类型保持一致,然后重新启动任务。 jobId=ugui7hl1h83****,code=07,errMsg=transaction-replicate:DTS-70004:executestatementfailed:/*dts_id=dtserev7v26j8i*****/replaceinto`ylh_order`.`recycle_standing_book`****cause:SQLException:ADB30Engine(15):meeterror,insertSQL:/*dts_id=dtserev7v26j8i*****/replaceinto`ylh_order`.`recycle_standing_book`****errordetailmessage:[15018,202212160839511921682250660315152****](Column=>RECYCLE_STANDING_BOOK.DB_ID),Forinputstring:"14033071031736****"SQLException:[15018,202212160839511921682250660315152****](Column=>RECYCLE_STANDING_BOOK.DB_ID),Forinputstring:"14033071031736****"DTS-RETRY-ERR-0186:notauthorizedon(.*)toexecutecommand可能原因:任务中使用的数据库账号权限不足。 jobId=j99123a7161****,code=03,errMsg=common:DTS-11005:com.mongodb.MongoCommandException:Commandfailedwitherror13:'notauthorizedonzcscenter_logtoexecutecommand{insert:"UserBehaviorLog",ordered:true,bypassDocumentValidation:true,$db:"zcscenter_log"}'onserver172.16.XX.XX:XXX.Thefullresponseis{"operationTime":{"$timestamp":{"t":1671158607,"i":1}},"ok":0.0,"errmsg":"notauthorizedonzcscenter_logtoexecutecommand{insert:\"UserBehaviorLog\",ordered:true,bypassDocumentValidation:true,$db:\"zcscenter_log\"}","code":13,"codeName":"Unauthorized","$clusterTime":{"clusterTime":{"$timestamp":{"t":1671158607,"i":1}},"signature":{"hash":{"$binary":"FMyelyFIm+zD****/XOiGFd****=","$type":"00"},"keyId":{"$numberLong":"717355978057161****"}}}}****DTS-RETRY-ERR-0187:TheTCP/IPconnectiontothehost(.*)hasfailed可能原因:数据库无法正常连接。 jobId=vtsv5pgl22m****,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromsourcetable[EMWSHANGHAI].[dbo].[OILM]failedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromsourcetable[EMWSHANGHAI].[dbo].[OILM]failedRuntimeException:jdbc-burst:DTS-61015:Createconnectionfailed(url:172.16.XX.XX:XXX,user:sa)cause:SQLServerException:TheTCP/IPconnectiontothehost172.16.XX.XX,portXXXhasfailed.Error:"Thedriverreceivedanunexpectedpre-loginresponse.VerifytheconnectionpropertiesandcheckthataninstanceofSQLServerisrunningonthehostandacceptingTCP/IPconnectionsattheport.ThisdrivercanbeusedonlywithSQLServer2005orlater.".****DTS-RETRY-ERR-0188:nullvalueincolumn(.*)violatesnot-nullconstraint可能原因:目的端有非空约束的列在任务中被过滤,或在源端没有相应列的值。 解决方法:请根据实际业务情况进行修改,确保待同步或迁移对象的数据满足目标端的约束限制,然后重新启动任务。 jobId=hn612sbb16q****,code=03,errMsg=full-greenplum:DTS-65708:copyerror,recordRange={id:266622423602823****,schema:ods_ecology1.workflow_yozotopdfconfig,indexName:,fields:[],leftValues:[null],rightValues:[null],partition:null},copySql=/*DTS-full-hn612sbb16q*****//*DTS-full-hn612sbb16q*****/COPY"ods_ecology1"."workflow_yozotopdfconfig"("useWps","useyozo")FROMSTDINDELIMITER'|'ESCAPE'\'CSVQUOTE'"'DOonconflictDOupdatecause:PSQLException:ERROR:nullvalueincolumn"useWps"violatesnot-nullconstraintDetail:Failingrowcontains(0,null).Where:COPYworkflow_yozotopdfconfig,line1DTS-RETRY-ERR-0189:ONCONFLICTDOUPDATEcommandcannotaffectrowasecondtime可能原因:源端和目标端的唯一索引不一致。 解决方法:请根据实际业务情况进行修改,确保源端和目标端的唯一索引一致,然后重新启动任务。 jobId=t0q12vjgl98****,code=07,errMsg=DTS-077100:RecordReplicatorerrorintableuat_r3_oms_oc_ip.oc_b_tob_order.causeby[com.alibaba.amp.increment.exception.AmpException:Thereisnocolumn`echo_status`intable`r3_rc_datasync`.`oc_b_tob_order`]Aboutmoreinformationin****DTS-RETRY-ERR-0191:Host(.*)isblockedbecauseofmanyconnection可能原因:数据库的连接数量达到上限。 jobId=kv512kmj15n****,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromsourcetableshineserver.tbl_invdata_d_2023_01_07failedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromsourcetableshineserver.tbl_invdata_d_2023_01_07failedCriticalAnyAllException:full-mysql:DTS-00000:FetchmetainfofailedDBCommonException:jdbc-burst:DTS-61015:Createconnectionfailed(url:172.27.XX.XX:XXX,user:root)SQLException:null,messagefromserver:"Host'100.104.XX.XX'isblockedbecauseofmanyconnectionerrors;unblockwith'mysqladminflush-hosts'"DTS-RETRY-ERR-0192:Getalldatabasesin(.*)DBfailed可能原因:获取源库信息失败。 解决方法:请确保源端数据库的状态正常且可以正常连接,然后重新启动任务。 jobId=mmbg34h530g****,code=04,errMsg=DTS-070611:Getalldatabasesinv5x0617DBfailed.SourceDTS-RETRY-ERR-0193:schema(.*)doesnotexist可能原因:源或目标端Schema不存在。 解决方法:请确保源和目标端存在报错信息中的Schema,然后重新启动任务。 jobId=tycy1xi5d4w****,code=03,errMsg=full-greenplum:DTS-65708:copyerror,recordRange={id:65629572036558****,schema:dtstest.master_ld_pg_test,indexName:,fields:[idBIGINTnotnullableprimaryunique],leftValues:[null],rightValues:[null],partition:null},copySql=/*DTS-full-tycy1xi5d41*****//*DTS-full-tycy1xi5d4w*****/COPY"dtstest"."master_ld_pg_test"("name","id","name2")FROMSTDINDELIMITER'|'ESCAPE'\'CSVQUOTE'"'DOonconflictDOupdatecause:PSQLException:ERROR:schema""doesnotexist(seg0172.25.XX.XX:XXXpid=556)DTS-RETRY-ERR-0194:WRONGPASSinvalidusername-passwordpairoruserisdisabled可能原因:Redis的账号或密码错误。 解决方法:请使用正确的Redis账号和密码配置任务。 jobId=yji127k830v****,code=04,errMsg=redis:DTS-10015:redis:DTS-10010:WRONGPASSinvalidusername-passwordpairoruserisdisabled.cause:RedisClientInitiationException:redis:DTS-10010:WRONGPASSinvalidusername-passwordpairoruserisdisabled.DTS-RETRY-ERR-0195:CreateTableExceedlimit可能原因:目标DataHub的Topic数量超过Project限制。 jobId=gta119cz22v****,code=02,errMsg=DTS-1029999Theddlmovetaskgta119cz22vg6d4wasfinished,but598objectsfailed,errormessage:[DTS]CreateTableExceedlimit,maxtopicsforoneprojectis500,currentis500indts(StatusCode:400;ErrorCode:ResourceLimit;RequestID:20230111104946510ec50bfb87****),[DTS]CreateTableExceedlimit,maxtopicsforoneprojectis500,currentis500indts(StatusCode:400;ErrorCode:ResourceLimit;RequestID:202301111049445d0ec50bfb83****),[DTS]CreateTableExceedlimit,maxtopicsforoneprojectis500,currentis500indts(StatusCode:400;ErrorCode:ResourceLimit;RequestDTS-RETRY-ERR-0196:user(.*)doesnotexist可能原因1:表或视图不存在。 解决方法1:请根据具体报错信息,补充相应的表或者视图,然后重新启动任务。 解决方法2:请给任务中使用的数据库账号授予足够的权限,然后重新启动任务。 jobId=ssbc18z7113****,code=02,errMsg=ORA-01918:user'BOND_EXT_ETL'doesnotexist.ORA-00942:tableorviewdoesnotexistDTS-RETRY-ERR-0197:tableorviewdoesnotexist可能原因1:表或视图不存在。 jobId=ssbc18z7113****,code=02,errMsg=ORA-01918:user'BOND_EXT_ETL'doesnotexist.ORA-00942:tableorviewdoesnotexistDTS-RETRY-ERR-0198:FUNCTION(.*)doesnotexist可能原因:结构迁移的VIEW或FUNCTION有依赖的对象,导致VIEW创建失败。 jobId=vtsv5pgl22m7****,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromsourcetable[EMWSHANGHAI].[dbo].[OILM]failedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromsourcetable[EMWSHANGHAI].[dbo].[OILM]failedRuntimeException:jdbc-burst:DTS-61015:Createconnectionfailed(url:172.16.XX.XX:XXX,user:sa)cause:SQLServerException:ConnectionresetClientConnectionId:b2bb965c-e92a-4311-b499-cff270ff****SocketException:ConnectionresetDBCommonException:jdbc-burst:DTS-61015:Createconnectionfailed(url:172.16.XX.XX:XXX,user:sa)SQLServerException:ConnectionresetClientConnectionId:b2bb965c-e92a-4311-b499-cff270ff****SocketException:ConnectionresetDTS-RETRY-ERR-0200:valuetoolargeforcolumn可能原因:写入数据的长度,大于表结构定义中该列字段的最大长度。 解决方法:请修改该表异常列字段的最大长度,使其满足数据写入的需要,然后重新启动任务。 jobId=ckwu1nn2100****,code=07,errMsg=common:DTS-100047:retry4151times,43201510seconds,whichexceedthesupposed43200secondscause:TransactionReplicateException:transaction-replicate:DTS-70004:executestatementfailed:/*ckwu1nn210048jjOraclePrepareStatementSqlEngine(14)*/insertinto****SQLException:ORA-12899:valuetoolargeforcolumn"XFS_OPEN_PLATFORM_EX"."T_PRODUCT_CHANNEL"."CHANNEL_NAME"(actual:38,maximum:32)DTS-RETRY-ERR-0201:Cannotfindcolumn(.*)intargettable可能原因:目标端的表缺少列。 jobId=zhml16az11q****,code=07,errMsg=DTS-071007:Schemamatchedfailed.causeby[CannotfindcolumnbpmSn<-->bpmSn[true]intargettableanta_mw_order_prod.bas_warehouse]Aboutmoreinformationin****DTS-RETRY-ERR-0203:Table(.*)doesnotexist可能原因:源库或目标库部分表不存在。 jobId=x3dl1cbm11r****,code=03,errMsg=common:DTS-11005:framework:DTS-31008:fetchcolumninfofromtargettabletms_service2.tp_3286333_ogl_logistics_trajectory_2failedcause:AnyCoreException:framework:DTS-31008:fetchcolumninfofromtargettabletms_service2.tp_3286333_ogl_logistics_trajectory_2failedRuntimeException:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:[17003,202301110800570100020000460315122****]Tableadb.tms_service2.tp_3286333_ogl_logistics_trajectory_2doesnotexistDTS-RETRY-ERR-0204:Diskfull(.*)waitingforsomeonetofreesomespace可能原因:目标端磁盘空间已满。 jobId=h03q1pas10o****,code=03,errMsg=framework:DTS-30011:currentRunningSQL:/*DTS-full-h03q1pas10o*****/insertignoreinto****cause:BatchUpdateException:Diskfull(tb_ms_video_collect_day_20221221);waitingforsomeonetofreesomespace...(errno:189"Diskfull")SQLException:Diskfull(tb_ms_video_collect_day_20221221);waitingforsomeonetofreesomespace...(errno:189"Diskfull")Diskfull****waitingforsomeonetofreesomespaceDTS-RETRY-ERR-0209:relation(.*)doesnotexist可能原因:目标端的Relation不存在。 解决方法:请根据报错信息在目标端创建Relation,然后重新启动任务。 id=37908****,jobId=eo3m1z6t11y****,value={"errMsg":"java.lang.RuntimeException:Table'`wk_crm`.`wk_examine_advanced_config`'withcolumns[`create_user_id`,`node_handle_type`,`modify_permission_type`,`create_time`,`company_id`,`limit_time_status`,`batch_id`,`advanced_config_id`,`examine_id`,`update_time`,`node_handle_user`,`update_user_id`,`reject_handle_type`,`repeat_handle_type`]andbatchexceptionis{[13000,202301110018191921681780610345332****](Column=>WK_EXAMINE_ADVANCED_CONFIG.NODE_HANDLE_USER),Forinputstring:****DTS-RETRY-ERR-0212:batchexception(.*)Forinputstring可能原因:目标端写入数据的类型与表结构定义的数据类型不一致。 id=37908****,jobId=eo3m1z6t11y****,value={"errMsg":"java.lang.RuntimeException:Table'`wk_crm`.`wk_examine_advanced_config`'withcolumns[`create_user_id`,`node_handle_type`,`modify_permission_type`,`create_time`,`company_id`,`limit_time_status`,`batch_id`,`advanced_config_id`,`examine_id`,`update_time`,`node_handle_user`,`update_user_id`,`reject_handle_type`,`repeat_handle_type`]andbatchexceptionis{[13000,202301110018191921681780610345332****](Column=>WK_EXAMINE_ADVANCED_CONFIG.NODE_HANDLE_USER),Forinputstring:\"161281865257152****,161281865208498****\"}","jobId":"t2pa1xp1112****","maxRetryTime":43200,"module":"full","retryCount":9,"retryTarget":"destDB","retryTime":80,"retrying":true}DTS-RETRY-ERR-0213:mapper(.*)ofdifferenttype可能原因:目标端写入数据的类型与表结构定义的数据类型不一致。 PUT****{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper[user_disease_point_id]ofdifferenttype,current_type[text],merged_type[long]"}],"type":"illegal_argument_exception","reason":"mapper[user_disease_point_id]ofdifferenttype,current_type[text],merged_type[long]"},"status":400}DTS-RETRY-ERR-0214:Streamclosed可能原因:网络连接超时。 ****framework:DTS-31009:Inprocessofprocessingdata(recordRange:827160178650303****)failedcause:RedisServerException:redis:DTS-10015:redis:DTS-10009:StreamclosedRedisCannotRetryException:redis:DTS-10009:StreamclosedIOException:Streamclosed****DTS-RETRY-ERR-0215:waitmillis(.*)active(.*)maxActive可能原因:数据库连接异常。 ****waitmillis300000,active2,maxActive100,creating1,createElapseMillis26952,createErrorCount66****DTS-RETRY-ERR-0216:OutOfMemoryError可能原因:任务运行时遇到超大字段,导致内存溢出。 transaction-replicate:DTS-70004:executestatementfailed:/*DTS-wri-MysqlEngine(3)*/replaceinto`db_mch_recreation`.`tbl_order`(`time_pay`,`rec_product_detail`,`err_code`,`type`,`device_name`,`total_fee`,`out_sid`,`extra`,`ship_desc`,`sn`,`seller_id`,`time_create`,`device_id`,`err_descDTS-RETRY-ERR-0225:DTS-11005:null可能原因:偶发性错误。 framework:DTS-31009:Inprocessofprocessingdata(recordRange:)failedcause:CriticalAnyAllException:common:DTS-11005:nullNullPointerException:null【URL】:****DTS-RETRY-ERR-0226:User(.*)doesnothavepermissiontorunDBCCTRACEON可能原因:任务使用的源端数据库账号权限不足。 jobId=juin1gx7166****,code=15,errMsg=dts-k-src:DTS-52102:retryfinalfailedcause:RecoverableAnyAllException:dts-k-src:DTS-52110:SQLServerRecordExtractorInitError:sqlserver-reader:DTS-00032:ExecutesqlDBCCTRACEON(2537,-1)failed,casebyUser'dtstest'doesnothavepermissiontorunDBCCTRACEON.CriticalAnyAllException:sqlserver-reader:DTS-00032:ExecutesqlDBCCTRACEON(2537,-1)failed,casebyUser'dtstest'doesnothavepermissiontorunDBCCTRACEON.SQLServerException:User'dtstest'doesnothavepermissiontorunDBCCTRACEON.DTS-RETRY-ERR-0227:Socketclosed可能原因:DTS网络无法连接至Redis实例。 解决方法:请确保源和目标端实例网络正常,然后重新启动任务。 jobId=z6xb1321161****,code=04,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:444887303382577****)failedcause:FatalAnyAllException:common:DTS-100047:retry0times,15352498seconds,whichexceedthesupposed600secondsRedisServerException:redis:DTS-10015:redis:DTS-10009:SocketclosedRedisCannotRetryException:redis:DTS-10009:SocketclosedSocketException:SocketclosedDTS-RETRY-ERR-0228:Illegalmixofcollations可能原因:源和目标表的字符集或字符集的校对规则不一致。 解决方法:请确保源和目标表的字符集和字符集的校对规则一致,然后重新启动任务。例如,MySQL8.0及以上版本可以使用ALTERTABLEXXXdefaultcharacterSETutf8mb4collate=utf8mb4_general_ci;命令,将默认的校对规则(utf8mb4_0900_ai_ci)修改为utf8mb4_general_ci。 XXX需要替换为对应的表名。 解决方法:检查目标端实例是否可以修改为常规的读写实例: jobId=a4ls1hua154****,code=07,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:609533659628489****)failedcause:FatalAnyAllException:common:DTS-100047:retry0times,300800seconds,whichexceedthesupposed43200secondsCriticalAnyAllException:nosql-replicate:DTS-70007:resolvefailedDTS-RETRY-ERR-0235:permissiondeniedtocreateeventtrigger可能原因:任务使用的目标端账号权限不足。 解决方法:使用superuser账号重新配置任务。 jobId=ipix1o7u13u****,code=30,errMsg=ERROR:permissiondeniedtocreateeventtrigger"dts_intercept_ddl"Hint:Mustbesuperusertocreateaneventtrigger.permissiondeniedtocreateeventtriggerDTS-RETRY-ERR-0236:Failedconnectingto可能原因:DTS无法连接Redis实例。 jobId=v41u74p8z4q****,code=07,errMsg=framework:DTS-31007:fetchandmergeschemasfailedcause:RedisServerException:redis:DTS-10015:redis:DTS-10010:Failedconnectingto100.115.XX.XX:XXXRedisClientInitiationException:redis:DTS-10010:Failedconnectingto100.115.XX.XX:XXXDTS-RETRY-ERR-0238:fetchlogfailed可能原因:DTS任务获取日志遇到了问题。 jobId=q5lk1uak16g****,code=15,errMsg=dts-k-src:DTS-52111:IncrementContextIsNotRunning..:mysql-reader:DTS-52210:fetchlogfailedcause:IOException:java.lang.ArrayIndexOutOfBoundsException:6ArrayIndexOutOfBoundsException:6cause:CriticalAnyAllException:mysql-reader:DTS-52210:fetchlogfailedIOException:java.lang.ArrayIndexOutOfBoundsException:6ArrayIndexOutOfBoundsException:6fetchlogfailedDTS-RETRY-ERR-0239:Prematurelyreachedendofstream可能原因:DTS读取源端数据库超时。 jobId=mc9g16xe16d****,code=03,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:859496203590356****)failedcause:FatalAnyAllException:common:DTS-100047:retry0times,66950seconds,whichexceedthesupposed43200secondsRuntimeException:com.mongodb.MongoSocketReadException:PrematurelyreachedendofstreamMongoSocketReadException:PrematurelyreachedendofstreamPrematurelyreachedendofstreamDTS-RETRY-ERR-0240:Cannotreadresponsefromserver可能原因:DTS无法获取服务端返回的数据。 jobId=v72o16zi165****,code=03,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:71735997624221****)failedcause:FatalAnyAllException:common:DTS-100047:retry0times,2181031seconds,whichexceedthesupposed600secondsCriticalAnyAllException:framework:DTS-31009:readsourcedataerrorSQLException:Errorretrievingrecord:UnexpectedException:java.io.EOFExceptionmessagegiven:Cannotreadresponsefromserver.Expectedtoread11,302bytes,read6,941bytesbeforeconnectionwasunexpectedlylost.****DTS-RETRY-ERR-0241:Unknowncharacterset可能原因:目标库实例没有报错信息中的字符集。 解决方法:建议源和目标库的版本保持一致,或者从低版本同步或迁移至高版本数据库实例,以保障兼容性。 jobId=n01d11o816q****,code=02,errMsg=Unknowncharacterset:'latin1'.UnknowncharactersetDTS-RETRY-ERR-0242:Couldnotfindfirstlogfilenameinbinarylogindexfile可能原因:Binlogindex信息没有更新,而Binlog日志已被清理。 解决方法:请尝试恢复Binlog日志,或重新配置DTS任务。 jobId=ud3m8u32154****,code=15,errMsg=dts-k-src:DTS-52102:retryfinalfailedcause:RecoverableAnyAllException:dts-k-src:DTS-52110:MySQLRecordExtractorInitError:mysql-reader:DTS-52212:MySQLbinlog167384****isnotexists.CriticalAnyAllException:mysql-reader:DTS-52212:MySQLbinlog167384****isnotexists.IOException:java.sql.SQLException:CouldnotfindfirstlogfilenameinbinarylogindexfileSQLException:CouldnotfindfirstlogfilenameinbinarylogindexfileDTS-RETRY-ERR-0243:RecordConverterrorintable可能原因:目标端写入数据的类型与表结构定义的数据类型不一致。 jobId=el2m7hna195****,code=07,errMsg=DTS-077400:RecordConverterrorintablemidea_database.midea_mmds_share_link_visit_logmsg=[{column:object_id,value:6ba977b23944f68bf7124946aa3f****}ToBIGINT].causeby[{column:object_id,value:6ba977b23944f68bf7124946aa3f****}ToBIGINT]RecordConverterrorintableDTS-RETRY-ERR-0245:Authenticationfailed可能原因:DTS无法访问MongoDB的鉴权数据库。 解决方法:请检查任务使用的数据库账号和数据库密码是否可以正常连接数据库。 jobId=qbrn8mcj21p****,code=15,errMsg=dts-k-src:DTS-52102:retryfinalfailedcause:MongoSecurityException:ExceptionauthenticatingMongoCredential{mechanism=SCRAM-SHA-256,userName='dba_rw',source='admin',password= jobId=q6rh1hi510o****,code=05,errMsg=runcheckjobtimeoutDTS-RETRY-ERR-0247:cannotexecuteDELETEinaread-onlytransaction可能原因:在只读节点上执行DELETE操作。 jobId=amjm8zwvc4h****,code=07,errMsg=DTS-077100:RecordReplicatorerrorintabledataintegration.dws_kmzk_stock_info.causeby[org.postgresql.util.PSQLException:ERROR:cannotexecuteDELETEinaread-onlytransaction]Aboutmoreinformationin****cannotexecuteDELETEinaread-onlytransactionDTS-RETRY-ERR-0248:Socketreadtimedout可能原因:DTS读取源库数据超时。 id=38240****,jobId=vd6e8ylpa42****,value={"errMsg":"IOError:Socketreadtimedout@errorcode:17002","jobId":"qs8x8nf815l****","maxRetryTime":7200,"module":"reader","retryCount":3,"retryTarget":"srcDB","retryTime":66,"retrying":true}DTS-RETRY-ERR-0249:Versionhaschanged可能原因:在目标库中执行的SQL,依赖的对象(如函数或触发器依赖的函数对象等)不存在。 解决方法:请确保目标库中存在执行SQL依赖的对象。 报错示例:如下报错信息,表示目标库中不存在update_version函数。 jobId=kp0e16ge168****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*we2s1q2p16xc*****/updatepublic.reconciliationsetid=,create_time=,last_update=,data=,version=whereid=\ncause:\n\tPSQLException:ERROR:Versionhaschanged\nWhere:PL/pgSQLfunctionupdate_version()line8atRAISE","jobId":"we2s1q2p16x****","maxRetryTime":43200,"module":"writer","retryCount":311,"retryTarget":"destDB","retryTime":3316,"retrying":true}VersionhaschangedDTS-RETRY-ERR-0250:invalididentifier可能原因:目标库的SQL执行失败。 id=38235****,jobId=thvd19f2136****,value={"errMsg":"transaction-replicate:DTS-70004:executestatementfailed:/*ewjw1e6a13mc9stOraclePrepareStatementSqlEngine(10)*/insertinto\"SNPCENTER\".\"BIND\"(\"id\",\"sn\",\"snapshot_id\",\"parent_sn\",\"created_at\",\"updated_at\",\"parent_sn_from\",\"sn_from\")values(,,,,,,,)\ncause:\n\tSQLSyntaxErrorException:ORA-00904:\"ID\":invalididentifier\n","jobId":"ewjw1e6a13m****","maxRetryTime":43200,"module":"writer","retryCount":421,"retryTarget":"destDB","retryTime":4315,"retrying":true}DTS-RETRY-ERR-0251:unsupportedvalueconvertfor可能原因:目标端写入数据的类型与表结构定义的数据类型不一致。 id=38235****,jobId=a4410xe0123****,value={"errMsg":"jdbc-utils:DTS-11001:jdbc-utils:DTS-11001:Adb30StringDisperse:unsupportedvalueconvertfor[****]convertto[chief_accountJSONnullableaschief_account]targetDatabase:hdd_prod_1targetTable:basic_dock_account\ncause:\n\tJdbcUtilsException:jdbc-utils:DTS-11001:Adb30StringDisperse:unsupportedvalueconvertfor[****]convertto[chief_accountJSONnullableaschief_account]","jobId":"vgn10ctk19o****","maxRetryTime":7200,"module":"writer","retryCount":114,"retryTarget":"destDB","retryTime":1142,"retrying":true}DTS-RETRY-ERR-0253:Thenetworkconnectionisnotavailable,Pleasecheckthenetworkconnectionofthesourcedatabaseandthetargetdatabase可能原因:网络连接失败。 Thenetworkconnectionisnotavailable,PleasecheckthenetworkconnectionofthesourcedatabaseandthetargetdatabaseDTS-RETRY-ERR-0254:获取数据库(.*)连接失败可能原因:无法连接到源端数据库。 解决方法:请确保源端数据库可以正常连接,然后重新启动任务。 jobId=ce7v1agz31w****,errMsg=获取数据库[S124.221.XX.XX:XXX]连接失败DTS-RETRY-ERR-0255:NOSCRIPTNomatchingscript可能原因:源库Lua脚本映射到目标库存在跨slot场景。 ****2023-02-0318:23:37[sink-22]ERRORAdb30ReplicateSink:269-22executebatchdmlfailedcause[15018,20230203182337192168132064031516924991]Cannotparse"2023-02-0006:08:11.0":Value0fordayOfMonthmustbeintherange[1,28]java.sql.SQLException:[15018,2023020318233719216813206403151692491]Cannotparse"2023-02-0006:08:11.0":Value0fordayOfMonthmustbeintherange[1,28]DTS-RETRY-ERR-0257:InvalidJSONtextinargument1tofunctioncast_as_json可能原因:报错信息中的JSON字段内容为空,无法写入目标端数据库。 ****`project_description`=x'E6B58BE8AF95E9A1B9E79BAE303731****',`school_id`=2632,`project_id`=1,`group_id`=36,`is_use`=1WHERE`project_id`=1limit1,errordetailmessage:Datatruncation:InvalidJSONtextinargument1tofunctioncast_as_json:"Thedocumentisempty."atposition0.MysqlDataTruncation:Datatruncation:InvalidJSONtextinargument1tofunctioncast_as_json:"Thedocumentisempty."atposition0.DTS-RETRY-ERR-0258:failedtoparsedatefield可能原因:目标端Elasticsearch中date类型字段的格式有问题,导致数据写入失败。 解决方法:请根据源端数据和具体报错信息,修改目标端Elasticsearch中date类型字段的格式,然后重新启动任务。 ****errordetailmessage:es:DTS-10035:failedtoparsefield[mark_high_quality_label_time]oftype[date]indocumentwithid'30020'.Previewoffield'svalue:'2023-02-0317:40:27.0',failedtoparsedatefield[2023-02-0317:40:27.0]withformat[strict_date_optional_time||epoch_millis]SQLExceptionerrorCode:0,recordis:****DTS-RETRY-ERR-0259:User(.*)hasexceededthe'max_user_connections'resource可能原因:数据库连接数达到上限(超过max_user_connections限制)。 jobId=v7yw20eea18****,errMsg=com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:User'rrc_datax'hasexceededthe'max_user_connections'resource(currentvalue:50)DTS-RETRY-ERR-0260:FailedForWaitMysqlServerHandshake可能原因:数据库实例无法连接。 jobId=ibeh15uc28l****,errMsg=DTS-52102:retryfinalfailedcause:RecoverableAnyAllException:dts-k-src:DTS-52110:SQLServerRecordExtractorInitError:sqlserver-reader:DTS-52402:UNSupportsqlserverwithoutdatabasebackupCriticalAnyAllException:sqlserver-reader:DTS-52402:UNSupportsqlserverwithoutdatabasebackupDTS-RETRY-ERR-0262:command'SCRIPT'isnotallowed可能原因:DTS不支持同步或迁移Redis实例的SCRIPT脚本。 jobId=mn9e254ps3r****,errMsg=redis.clients.jedis.exceptions.JedisDataException:ERRhandlerequest,command'SCRIPT'isnotallowedDTS-RETRY-ERR-0263:UnsupportedException(.*)CannotsupportVersion可能原因:DTS暂不支持Redis7.0及以上版本。 jobId=hp9m2axpv47****,errMsg=DTS-31009:Inprocessofprocessingdata(recordRange:27873049260****)failedcause:FatalAnyAllException:common:DTS-100047:retry0times,1601seconds,whichexceedthesupposed43200secondsRedisServerException:redis:DTS-10015:redis:DTS-11005:CannotsupportVersion:10UnsupportedException:redis:DTS-11005:CannotsupportVersion:10DTS-RETRY-ERR-0264:TDDL-4500(.*)Donotsupportpartitionby可能原因:DRDS模式的PolarDB-X数据库不支持分区。 jobId=c78q2olvv3c****,errMsg=[15a0362958404000][11.117.XXX.XXX:3088][jm_live_data_pool]ERR-CODE:[TDDL-4500][ERR_PARSER]Donotsupportpartitionby..DTS-RETRY-ERR-0265:Rejectingmappingupdateto可能原因:DTS任务的目标端已经存在需要创建的INDEX。 解决方法:请在业务允许的前提条件下,删除目标端中报错信息的INDEX,然后重新启动任务。 jobId=ofyn25r1t4b****,errMsg=列名'TotalAmount'无效。.列名'wx_flag'无效。.DTS-RETRY-ERR-0268:对象名(.*)无效可能原因:当前任务依赖的对象无效。 解决方法:确认源库中是否存在当前任务依赖的对象。 jobId=dcpd2mm3p3f****,errMsg=对象名'dbo.V_BS_INFO'无效。.对象名'dbo.V_BS_INFO'无效。.对象名'V_BS_INFO'无效。.对象名'V_BS_INFO'无效。.对象名'V_CGO_CN_PRE'无效。.DTS-RETRY-ERR-0269:Errorcolumnname可能原因:报错对象的编码方式与目标端的编码方式不一致。 解决方法:请根据具体报错信息,确保目标端与源端的编码方式一致,然后重新启动任务。 jobId=t6ds676q308****,errMsg=DTS-1029999Theddlmovetaskt6ds676q308****wasfinished,but1objectsfailed,errormessage:DTS-1020042Executesqlerrorsql:DTS-1020042Executesqlerrorsql:[13000,202006301129351720160291070345367****]Errorcolumnname:'id',onlysupport'0-9,a-z,A-Z,_-()'andfirstlettermustbea-zorDTS-RETRY-ERR-0270:MongoCommandException(.*)operationwasinterrupted可能原因:创建MongoDB的INDEX超时。 解决方法:该报错是任务正常运行的结果,表示全量校验任务发现源库与目标库存在不一致的数据。 ****fullcheckfinddifferentrecords:9DTS-RETRY-ERR-0272:UnSupportthisdbtype可能原因:当前任务暂不支持ETL功能。 解决方法:去除当前任务ETL功能的配置。 jobId=uqct2lfuv57****,errMsg=java.lang.Exception:UnSupportthisdbtype:131072at****DTS-RETRY-ERR-0273:Deadlockfoundwhentryingtogetlock可能原因:有其他用户在向目标端写入数据,导致当前任务在目标端写入数据时遇到死锁。 jobId=x1sz2los149****,errMsg=framework:DTS-30011:currentRunningSQL:/*DTS-full-x1sz2los149*****/insertignoreinto****,reason:Deadlockfoundwhentryingtogetlock;tryrestartingtransactioncause:BatchUpdateException:Deadlockfoundwhentryingtogetlock;tryrestartingtransactionMySQLTransactionRollbackException:Deadlockfoundwhentryingtogetlock;tryrestartingtransactionDTS-RETRY-ERR-0274:Tablespacehasbeendiscardedfortable可能原因:源库数据读取失败。 解决方法:请确保源库中报错的表可以正常读取,然后重新启动任务。 jobId=yd0b2c2a148****,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:381808368541709****)failedcause:FatalAnyAllException:common:DTS-100047:retry712times,7205110seconds,whichexceedthesupposed7200secondsCriticalAnyAllException:framework:DTS-31009:readsourcedataerrorSQLException:Tablespacehasbeendiscardedfortable'dtstest'DTS-RETRY-ERR-0275:isnotnullable(.*)butit'sdefaultvalueisnull可能原因:目标端含非空约束的字段写入了null值。 解决方法:在业务允许的前提条件下,修改目标表结构(去除非空约束),然后重新启动任务。 jobId=lg7d2ofq14v****,errMsg=common:DTS-100047:retry4310times,43202322seconds,whichexceedthesupposed43200secondscause:RuntimeException:Table'`dw`.`f_fa_fnd_repay_recon`'withcolumns[****]andbatchexceptionis{[13000,202302150420401921681740920315141****]F_FA_FND_REPAY_RECON.BANKisnotnullable,butit'sdefaultvalueisnull,Error:Field'F_FA_FND_REPAY_RECON.BANK'doesn'thaveadefaultvalue}BatchUpdateException:[13000,202302150420401921681740920315141****]F_FA_FND_REPAY_RECON.BANKisnotnullable,butit'sdefaultvalueisnull,Error:Field'F_FA_FND_REPAY_RECON.BANK'doesn'thaveadefaultvalueMySQLSyntaxErrorException:[13000,202302150420401921681740920315141****]F_FA_FND_REPAY_RECON.BANKisnotnullable,butit'sdefaultvalueisnull,Error:Field'F_FA_FND_REPAY_RECON.BANK'doesn'thaveadefaultvalueDTS-RETRY-ERR-0276:if(.*)isspecifieditmustnotbeempty可能原因:映射到Elasticsearch中_id列的值为空。 jobId=usbt2jev15uw11k,errMsg=common:DTS-100047:retry15times,265289seconds,whichexceedthesupposed9223372036854775807secondscause:IOException:es:DTS-10035:if_idisspecifieditmustnotbeemptyCriticalAnyAllException:es:DTS-10035:if_idisspecifieditmustnotbeemptyDTS-RETRY-ERR-0277:Theprimarykeyschemaisnotmatchwhichdefinedintablemeta可能原因:Schema当前的主键与DTS获取的信息不一致。 jobId=j4qs239715r****,errMsg=common:DTS-100047:retry0times,2056seconds,whichexceedthesupposed43200secondscause:ClientException:Theprimarykeyschemaisnotmatchwhichdefinedintablemeta.DTS-RETRY-ERR-0278:Unexpectedendofstream可能原因:DTS连接数据库实例时遇到问题。 jobId=ofmz2m6015t****,errMsg=framework:DTS-31007:fetchandmergeschemasfailedcause:RedisServerException:redis:DTS-10015:redis:DTS-10010:Unexpectedendofstream.RedisClientInitiationException:redis:DTS-10010:Unexpectedendofstream.DTS-RETRY-ERR-0279:Unsupportbatchreplicateinkafka可能原因:当前任务不支持batch写入,需要关闭batch功能。 jobId=f3uc324ha1c****,errMsg=kafka:DTS-31005:UnsupportbatchreplicateinkafkaDTS-RETRY-ERR-0280:Couldnotgetaresourcesincethepoolisexhausted可能原因:DTS无法连接Redis实例。 解决方法:请确保DTS可以正常连接源和目标Redis实例,然后重新启动任务。 jobId=sjcg2si2141****,errMsg=redis:DTS-10015:Couldnotgetaresourcesincethepoolisexhaustedcause:JedisExhaustedPoolException:CouldnotgetaresourcesincethepoolisexhaustedNoSuchElementException:UnabletovalidateobjectDTS-RETRY-ERR-0281:RDBMagicStringError可能原因:DTS不支持当前版本的Redis实例,从而导致解析RDB失败。 jobId=rs1r2ub614****,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:2093173747887374336)failedcause:FatalAnyAllException:common:DTS-100047:retry0times,1501seconds,whichexceedthesupposed43200secondsRedisServerException:redis:DTS-10015:redis:DTS-10019:RDBMagicStringError:[84,68,69,95,69,78,65,66,76]UnexpectedRDBFromatException:redis:DTS-10019:RDBMagicStringError:[84,68,69,95,69,78,65,66,76]DTS-RETRY-ERR-0282:Cannotcreateconnectiontosourcedatabase可能原因:DTS连接数据库实例时遇到问题。 jobId=sd4q2knu13t****,errMsg=dts-k-src:DTS-52111:IncrementContextIsNotRunning..:cause:CriticalAnyAllException:sqlserver-reader:DTS-52410:SqlserverlogfetchfailedCriticalAnyAllException:sqlserver-reader:DTS--0001:CannotcreateconnectiontosourcedatabaseSQLServerException:****DTS-RETRY-ERR-0283:thepasswordhasexpired可能原因:Oracle数据库的账号过期,导致DTS无法连接数据库。 解决方法:请修复数据库账号(如在数据库中修改账号密码),并确保DTS可以通过该账号正常连接Oracle数据库。 jobId=h0vu2cqvb73****,errMsg=dts-k-src:DTS-52111:IncrementContextIsNotRunning..:cause:CriticalAnyAllException:oracle-reader:DTS-52320:FetchoraclelogfailedCriticalAnyAllException:oracle-reader:DTS-52320:FetchredologfailedCriticalAnyAllException:oracle-reader:DTS--0001:Cannotcreateconnectiontosourcedatabase,casebyORA-28001:thepasswordhasexpiredSQLException:ORA-28001:thepasswordhasexpiredDTS-RETRY-ERR-0284:postgrescreatelocalslotfailed可能原因:DTS在源库创建replicationslot失败。 jobId=hkdy2ysl13j****,errMsg=bisId【hl3o2c0n13r****】runfailby****,errorMsg:readerm36f2x3115g****startfail,currentstatefailed,msg:dts-k-src:DTS-52111:IncrementContextIsNotRunning..:cause:CriticalAnyAllException:postgresql-reader:DTS-52510:FetchpostgresqllogicallogfailedCriticalAnyAllException:postgresql-reader:DTS-52513:postgrescreatelocalslotfailedDTS-RETRY-ERR-0285:ErrorInParsingRDB可能原因:任务使用的账号权限不足,从而导致解析RDB失败。 jobId=v5i12pl522s****,errMsg=framework:DTS-31009:Inprocessofprocessingdata(recordRange:27873049260****)failedcause:RedisServerException:redis:DTS-10015:redis:DTS-10019:ErrorInParsingRDB,FormatError,FirstLineis:-ERRrequestfailedtoroute,command'sync'raw****DTS-RETRY-ERR-0286:Youcan'twriteorreadagainstadisableinstance可能原因:源端数据库不可读写。 解决方法:请确保源端数据库可以正常读写,然后重新启动任务。 jobId=rp4r2jdc14y****,errMsg=framework:DTS-31007:fetchandmergeschemasfailedcause:RuntimeException:sourceDBexecuteinfoKeyspacereturnunexpectederror,response:nullJedisDataException:ERRDISABLEYoucan'twriteorreadagainstadisableinstanceDTS-RETRY-ERR-0287:Value(.*)formonthOfYearmustbeintherange可能原因:源库中的日期数值不符合规范。 解决方法:在业务允许的前提条件下,修改目标表的结构(去除非空约束),然后重新启动任务。 DTS-100047:retry4320times,43204014seconds,whichexceedthesupposed43200secondscause:RuntimeException:Table'`adb_jarvi****`.`jarvis_s****`'withcolumns[`id`,`org_id`,`factory_id`,`putout_category_id`,`bundle_id`,`handle_amount`,`is_putout_all`,`handle_time`,`remark`,`create_time`,`update_time`,`timestamp`]andbatchexceptionis{cannotfinddisperserforfieldhandle_amountDOUBLEnullableashandle_amountutf8withvaluetypeIntegerNumeric}SQLException:cannotfinddisperserforfieldhandle_amountDOUBLEnullableashandle_amountutf8withvaluetypeIntegerNumericDTS-RETRY-ERR-0293:dbnotfound.use`showdatabases`toseealldbs.可能原因:目标端不存在对应的数据库或Schema。 解决方法:手动在目标端创建该数据库或Schema,并给任务中使用的数据库账号授予足够的权限,然后重新启动任务。 dbnotfound.use`showdatabases`toseealldbs.currentschemas****DTS-RETRY-ERR-0294:Invaliddefaultvaluefor(.*)可能原因:库表结构同步或迁移中,字段类型映射的默认值不正确。 解决方法:首先在目标端手动创建表,然后在结构迁移模块中跳过该表。 Invaliddefaultvaluefor'active_****'.****DTS-RETRY-ERR-0295:donothaveenoughprivilegestousethisdatabase.可能原因:任务中使用的数据库账号权限不足。 amacadbu****donothaveenoughprivilegestousethisdatabase..****DTS-RETRY-ERR-0296:Thisconnectionhasbeenclosed可能原因:源库或目标库异常,导致数据库连接被关闭。 解决方法:请确保源库或目标库的状态正常且可以正常连接,然后重新启动任务。 DTS-61015:Createconnectionfailed(url:10.25.XX.XX:XX/testdbuser01,user:testdbuser01)cause:PSQLException:Thisconnectionhasbeenclosed.DTS-RETRY-ERR-0297:cannotexecute(.*)inaread-onlytransaction可能原因:源库是只读数据库或处于只读模式。 ERROR:cannotexecuteCREATEFUNCTIONinaread-onlytransactionDTS-RETRY-ERR-0298:only(.*)tableallowed可能原因:目标库对表的数量存在限制。 解决方法:请联系目标数据库的管理员(DBA),请求放开对表数量的限制,然后重新启动任务。 [17020,202408021111130210411290680315193****]only2500tableallowed.其他常见的报错DTS-10015报错说明:无法连接到Redis。 可能原因:Redis服务器异常,导致无法连接。 解决方法:请检查Redis服务端状态,是否能正常连接,并修复Redis问题。 DTS-10015:unreachableredisnetwork.JedisConnectionException:CouldnotgetaresourcefromthepoolJedisConnectionException:Failedconnectingtoip_address:portConnectException:Connectiontimedout(Connectiontimedout)DTS-10046报错说明:SQL执行异常。 可能原因:数据库账号缺失CREATETABLE权限。 解决方法:检查权限并赋予相应权限。 一般情况下,伴随此错误码,系统会同时输出数据库层面的具体报错信息。请参考具体报错内容,检查错误消息中的SQL语句并进行修复。 DTS-10046:executesql:CREATETABLEifnotexists`dts`.`table_name`(`id`int(11)NOTNULL,`column1`bigint(20)NOTNULL,PRIMARYKEY(`id`))ENGINE=InnoDBDEFAULTCHARSET=utf8failed.CreateTransactionTablefailed.cause:MySQLSyntaxErrorException:CREATEcommanddeniedtouser'username'@'ip_address'fortable'table_name'DTS-30005报错说明:内部处理中保存元数据信息失败。 可能原因:源库存在表名相同,但是大小写不同的表(如,TABLE和table),DTS当前不支持这种形式。 解决方法:检查源库并核实业务逻辑,修改源库中其中1个表名,并重建任务。 DTS-30005:savechangedjobprogressinfofailedcause:SQLException:resultcontentunexpected.expect3time1,actually[2,1,1]DTS-30011报错说明:写入数据异常。 可能原因1: DTS-30011:put2048recordserror,currentRunningSQL:insertignoreinto`xxx`.`yyy`(...),currentRunningRecordRange:{id:5362875948821643265,xxx.yyy,field:DefaultRecordField:{fieldName=aaa,dataType={typeName:BIGINT,typeId:-5,isLobType:false,encoding:null},sourceDataType=null,aliases=[],defaultValue=null,nullable=false,unique=true,primary=true,generated=false},leftValue:1293615822270500864,rightValue:1311217506282770432,partition:null}cause:BatchUpdateException:Thetable'yyy'isfullSQLException:Thetable'yyy'isfull可能原因2:目标库存在锁等待超时。 解决方法2:标库为MySQL时,可通过以下命令检查目标库锁的状况。 DTS-30011:put2048recordserror,currentRunningSQL:insertignoreinto`xxx`.`yyy`(...:{id:4958981218625388545,schema:xxx.yyy,field:DefaultRecordField:{fieldName=aaa,dataType={typeName:INTEGER,typeId:4,isLobType:false,encoding:null},sourceDataType=null,aliases=[],defaultValue=null,nullable=false,unique=true,primary=true,generated=false},leftValue:512021,rightValue:1024022,partition:null}cause:BatchUpdateException:Lockwaittimeoutexceeded;tryrestartingtransactionMySQLTransactionRollbackException:Lockwaittimeoutexceeded;tryrestartingtransaction可能原因3:目标库的状态为Read-Only。 解决方法3: 关闭只读状态后,需要重新启动任务。 报错示例3: DTS-30011:put2048recordserror,currentRunningSQL:insertignoreinto`xxx`.`yyy`(`...,currentRunningRecordRange:{id:4050997257913237860,schema:xxx.yyy,field:DefaultRecordField:{fieldName=id,dataType={typeName:BIGINT,typeId:-5,isLobType:false,encoding:null},sourceDataType=null,aliases=[],defaultValue=null,nullable=false,unique=true,primary=true,generated=false},leftValue:5424204045,rightValue:5424982251,partition:null}cause:SQLException:TheMySQLserverisrunningwiththe--read-onlyoptionsoitcannotexecutethisstatementDTS-30018报错说明:列不存在。 可能原因: 解决方法:调整源端和目标端的表结构,确保两端表结构一致。 如果您的实际不符合以上原因,请尝试以下方法: DTS-30018:Cannotfindcolumn[column_in_source<-->column_in_target]intargettabledb_name.table_nameDTS-30019报错说明:列不存在。 DTS-30019:Cannotfindcolumn[column_in_source<-->column_in_target]intargettabledb_name.table_nameDTS-30020报错说明:SQL执行异常。 可能原因1:任务暂停过久,重启后DTS缓存模块中已没有相应位点(2021-5-2021:17:51)的数据。 解决方法2:需重新创建任务。后续执行任务时,如遇任务报错,请尽快修复问题并恢复任务,避免任务因失败过久而无法恢复。 DTS-31009:Inprocessofprocessingdata(recordRange:911705268553777****)failedcause:CriticalAnyAllException:capture-dstore:DTS-51009:FailedtofetchrecordsfromdstoreCriticalAnyAllException:capture-dstore:DTS-50019:seektimestampfortopic[-0]withposition[{"timestamp":1621516671,"offset":-1}]failedDTS-31009/DTS-51009报错说明:DTS写入模块读取DTS缓存模块时,显示连接超时。 可能原因:网络抖动等原因导致当前数据写入模块连接缓存模块超时。 解决方法:您可以尝试重新启动任务,查看重启后任务是否恢复正常。 DTS-31009:Inprocessofprocessingdata(recordRange:579980698763814****)failedcause:CriticalAnyAllException:capture-dstore:DTS-51009:FailedtofetchrecordsfromdstoreTimeoutException:Failedtogetoffsetsbytimesin120000msDTS-60001报错说明:无法连接到源端数据库。 可能原因:用户名或密码不正确。 解决方法:输入正确的用户名和密码,并重新启动任务。 DTS-60001:Createconnectionfailed(url:ip_address:port,user:username)cause:SQLException:Accessdeniedforuser'username'@'ip_address'(usingpassword:YES)DTS-61015报错说明:无法连接到源端数据库。 可能原因:源端数据库连接数过多。 DTS-61015:Createconnectionfailed(url:ip_address:port,user:username)cause:MySQLNonTransientConnectionException:Datasourcerejectedestablishmentofconnection,messagefromserver:"Toomanyconnections"DTS-70002报错说明:无法连接数据库,或对应的库或表不存在。 可能原因:结构迁移报错,导致相应表没有迁移到目标端,也未在目标端手动创建表结构。 解决方法:根据报错信息中的内容检查库或表是否存在。若不存在: DTS-70002:gettabledetailinfofailedafter151times(user:db_name,database:table_name)MySQLSyntaxErrorException:Table'db_name.table_name'doesn'texistDTS-70004报错说明:SQL执行异常。 一般情况下,目标库为云原生数据仓库AnalyticDBMySQL版时,会出现示例报错信息。 可能原因1:链路不支持该类型的DDL操作,从而导致DDL执行失败。 DTS-70004:executestatementfailed:/*dts_id=dtsaaaaaaaaaa*/altertable`xxx`.`yyy`modifycolumn`aaa`INTdefault0comment'bbb'cause:SQLException:[15018,2021030506452201000000420803151947572]modifycolumntypeisnotsupported,col=x,oldType=bigint,newType=int可能原因2:目标库执行了SHUTDOWN操作。 解决方法2:确认目标库正常后,重新启动任务。 修复完成后,需要重新启动任务。 DTS-70004:executestatementfailed:/*aaaaaaaaaaMysqlEngine(27)*/update`xxx`.`yyy`set...cause:SQLException:null,messagefromserver:"Host'192.10.XX.XX'isnotallowedtoconnecttothisMySQLserver"可能原因4:对应表不存在。 解决方法4: 报错示例4: DTS-70004:executestatementfailed:/*bg6l15vf29l1b0vMysqlEngine(16)*/insertinto`xxx`.`yyy`...errordetailmessage:Table'xxx.yyy'doesn'texistMySQLSyntaxErrorException:Table'xxx.yyy'doesn'texist可能原因5:不符合数据库的完整性规范约束,例如,不允许为空的列插入了NULL。 解决方法5:检查表结构和DML语句涉及的记录,确保源和目的表结构一致,或者订正数据后重新启动任务。 报错示例5: 解决方法6:检查目的库账号是否具有报错信息中提示的权限,如有缺失,补足权限后重新启动任务。 报错示例6: DTS-70004:executestatementfailed:/*s2gb356ds228bt8MysqlEngine(0)*/insertinto`xxx`.`yyy`(`...`)values(...)errordetailmessage:INSERTcommanddeniedtouser'user'@'100.104.175.31'fortable'yyy'MySQLSyntaxErrorException:INSERTcommanddeniedtouser'user'@'100.104.175.31'fortable'yyy'DTS-70019报错说明:列不存在。 DTS-70019:Cannotfindcolumn[column_in_source<-->column_in_target]intargettabledb_name.table_nameDTS-71016报错说明:无法连接到目标端数据库。 可能原因1:目标端数据库连接数过多。 解决方法1:调整目标端数据库的最大连接数,并重新启动任务。 解决方法2:在目标端数据库侧修复问题(比如提高MAX_CONNECTION_ERRORS的值)后,重新启动任务。 DTS-71016:connecttargetfailed(url:jdbc:mysql://ip_address:portparameters)cause:SQLException:null,messagefromserver:"Host'ip_address'isblockedbecauseofmanyconnectionerrors;unblockwith'mysqladminflush-hosts'"DTS-1051009报错说明:DTS解析MySQL数据库Binlog日志异常。 可能原因:Binlog中的表结构与DTS本地的表结构不一致,导致Binlog解析失败。出现这种表结构不一致主要的原因是:该表结构变更DDL语句未记录到Binlog中,导致DTS解析不到DDL,未更新本地存储的表结构。例如:执行SETSESSIONsql_log_bin=0语句修改某个表的字段类型,比如INT(11)修改为BIGINT(20)。 java.IOEException:java.lang.IllegalArgumentException:Validtypefail,Column:column_name,Type:type_numberDTS-100047报错说明:DTS连接数据库实例超时。 解决方法:请适当调大net_read_timeout和net_write_timeout的参数值,然后重新启动任务。 ****FatalAnyAllException:common:DTS-100047:retry0times,4791628seconds,whichexceedthesupposed600secondsCriticalAnyAllException:framework:DTS-31009:readsourcedataerror****