Closed Bug 1650126 Opened 6 years ago Closed 6 years ago

leanplum_export dag not viewable in airflow

Categories

(Data Platform and Tools Graveyard :: Operations, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benwu, Unassigned)

Details

The leanplum_export shows DAG "leanplum_export" seems to be missing. when clicked on. The code was updated two days ago and it works locally. The dag is still running successfully though and correct data is being output.

The error I found in the container logs is:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/airflow/models/dagbag.py", line 243, in process_file
    m = imp.load_source(mod_name, filepath)
  File "/app/pvmount/telemetry-airflow/dags/leanplum_export.py", line 32, in <module>
    dag=dag
TypeError: export() takes at least 5 arguments (4 given)

Which makes it look like the dag code and util code are out of sync.

Probably similar issue to this https://bugzilla.mozilla.org/show_bug.cgi?id=1623794
Problems seem to happen when we update dags depending on functions imported from utils.

The UI was showing:
DAG "leanplum_export" seems to be missing.

Restarted webapp, and the prompt is gone.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Data Platform and Tools → Data Platform and Tools Graveyard
You need to log in before you can comment on or make changes to this bug.