扩容TiCDC节点失败

为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【 TiDB 使用环境】测试环境操作系统为Red Hat Enterprise Linux Server release 7.5
【概述】场景+问题概述
使用TiUP扩容TiCDC节点报错报错信息如下
Error: Failed to parse topology file scale-out.yaml (topology.parse_failed)
caused by: yaml: unmarshal errors:
line 4: field data_dir not found in type spec.CDCSpec

Please check the syntax of your topology file scale-out.yaml and try again.
Error: run /home/yidb/.tiup/components/cluster/v1.3.0/tiup-cluster (wd:/home/yidb/.tiup/data/SsOQhfr) failed: exit status 1
无法解析scale-out.yaml文件
【背景】做过哪些操作

【现象】业务和数据库现象
【业务影响】
【TiDB 版本】V4.0.9
【附件】

  1. TiUP Cluster Display 信息

  2. TiUP Cluster Edit Config 信息

  3. TiDB- Overview 监控

  • 对应模块日志(包含问题前后1小时日志)
1 个赞

是配置的路径不对么?

%E5%9B%BE%E7%89%87
我是参考官网上的扩容配置写的,也不行无法解析

路径我用的是官网上默认的路径而且扩容对应节点的路径我手动创建了

cdc好像没支持单独用data_dir,它默认会集成全局global的。可以不用指定

把data_dir去掉之后可以了,这个具体是什么原因呢

你这个data_dir的路径不对吧,改成 /data 试试

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。