airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sulphide (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-421) code view cannot find source files consistently since 1.7.1
Date Fri, 12 Aug 2016 15:57:21 GMT
sulphide created AIRFLOW-421:
--------------------------------

             Summary: code view cannot find source files consistently since 1.7.1
                 Key: AIRFLOW-421
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-421
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: Airflow 1.7.1
            Reporter: sulphide


There was a change in 1.7.1 to locate source files for the code view using the modules __name__
instead of its filepath. the problem is that all our modules have the same name and can only
be differentiated by filepath. e.g. our file path pattern is

etls/<etl_name>/airflow_pipeline.py

and all our dag files have that same filename. Since 1.7.1 airflow can no longer distinguish
one file from another, which breaks the code view(it always shows the same file regardless
of dag_id).

here is the associated code change:
https://github.com/apache/incubator-airflow/commit/975b90ec3ce6410a0b578b7d031dc3d92874bcb2#diff-948e87b4f8f644b3ad8c7950958df033L636



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message