本页面介绍如何解决 Cloud Data Fusion Knowledge Catalog 资产沿袭集成的问题。
运行时错误
如需查找数据流水线的相关日志,请在 Cloud Data Fusion 网页界面中前往您的实例,然后依次点击 系统管理员 > 管理 > 元数据服务。
未启用 Data Lineage API 或未授予角色
如果项目未启用 Data Lineage API,或者 Cloud Data Fusion 服务帐号未被授予 Data Lineage Events Producer 角色,则会出现以下问题:
Error calling the metadata consumer data-catalog-consumer:
io.grpc.StatusRuntimeException: PERMISSION_DENIED: Data Lineage API has not been
used in project <project_id> before or it is disabled. Enable it by visiting
https://console.developers.google.com/apis/api/datalineage.googleapis.com/overview?project=<project_id>
then retry. If you enabled this API recently, wait a few minutes for the action
to propagate to our systems and retry.
如需解决此问题,请启用 Data Lineage API 并向 Cloud Data Fusion 服务代理授予 Data Lineage Events Producer 角色。如需了解详情,请参阅在 Knowledge Catalog 中查看沿袭。
流水线在不受支持的 Cloud Data Fusion 版本中运行
如果 Cloud Data Fusion 实例升级到高于 6.8.0 的版本,但流水线尚未升级,则会出现以下问题:
Error calling the metadata consumer data-catalog-consumer:
java.lang.IllegalArgumentException: FQN for the asset is null.
如需解决此问题,请将流水线升级 到最新版本。
日志中没有消息,Knowledge Catalog 中也没有沿袭
如果流水线中使用的某个插件不支持向 Knowledge Catalog 输出沿袭,则会出现以下问题:
日志中没有错误或成功消息,Knowledge Catalog 中也没有沿袭。
如需解决此问题,您的流水线必须仅包含 支持 Knowledge Catalog 中数据沿袭的插件。