Debugging Broken DAGs

前端 未结 5 1016
野性不改
野性不改 2020-12-30 01:57

When the airflow webserver shows up errors like Broken DAG: [] , how and where can we find the full stacktrace for these excepti

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 02:31

    The accepted answer works in almost all cases to validate DAGs and debug errors if any.

    If you are using docker-compose to run airflow, you should do this:

    docker-compose exec airflow airflow list_dags
    

    It runs the same command inside the running container.

提交回复
热议问题