【问题标题】:How import the lineage of airflow to the atlas?如何将气流谱系导入图集?
【发布时间】:2018-11-29 12:51:18
【问题描述】:

我喜欢这样: https://airflow.apache.org/lineage.html#

在我的airflow.cfg中:

[lineage]
   backend = airflow.lineage.backend.atlas

[atlas]
  username = my_username
  password = my_password
  host = host
  port = 21000

我在 ariflow 中运行示例 DAG,然后遇到如下错误:

{init.py:44} 调试 - 由于模块“airflow.lineage.backend”未定义“atlas”属性/类,无法导入气流.lineage.backend.atlas

有人可以帮我吗?

【问题讨论】:

    标签: airflow apache-atlas


    【解决方案1】:

    我刚刚更新了这部分。 https://github.com/apache/airflow/blob/master/docs/lineage.rst#apache-atlas

    你可以试试

    backend = airflow.lineage.backend.atlas.AtlasBackend
    

    欢迎任何反馈:)

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-15
    • 1970-01-01
    • 2020-05-01
    • 2018-12-24
    • 1970-01-01
    • 2021-04-01
    相关资源
    最近更新 更多