webserver_1 | Initialize database...
webserver_1 | /usr/local/lib/python2.7/dist-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
webserver_1 | """)
webserver_1 | [2018-03-08 04:28:15,264] {__init__.py:57} INFO - Using executor LocalExecutor
webserver_1 | [2018-03-08 04:28:15,354] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
webserver_1 | [2018-03-08 04:28:15,374] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
webserver_1 | DB: postgresql+psycopg2://airflow:***@postgres:5432/airflow
webserver_1 | [2018-03-08 04:28:15,572] {db.py:287} INFO - Creating tables
webserver_1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
webserver_1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
webserver_1 | INFO [alembic.runtime.migration] Running upgrade -> e3a246e0dc1, current schema
webserver_1 | INFO [alembic.runtime.migration] Running upgrade e3a246e0dc1 -> 1507a7289a2f, create is_encrypted
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 1507a7289a2f -> 13eb55f81627, maintain history for compatibility with earlier migrations
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 13eb55f81627 -> 338e90f54d61, More logging into task_isntance
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 338e90f54d61 -> 52d714495f0, job_id indices
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 52d714495f0 -> 502898887f84, Adding extra to Log
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 502898887f84 -> 1b38cef5b76e, add dagrun
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 1b38cef5b76e -> 2e541a1dcfed, task_duration
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 2e541a1dcfed -> 40e67319e3a9, dagrun_config
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 40e67319e3a9 -> 561833c1c74b, add password column to user
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 561833c1c74b -> 4446e08588, dagrun start end
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 4446e08588 -> bbc73705a13e, Add notification_sent column to sla_miss
webserver_1 | INFO [alembic.runtime.migration] Running upgrade bbc73705a13e -> bba5a7cfc896, Add a column to track the encryption state of the 'Extra' field in connection
webserver_1 | INFO [alembic.runtime.migration] Running upgrade bba5a7cfc896 -> 1968acfc09e3, add is_encrypted column to variable table
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 1968acfc09e3 -> 2e82aab8ef20, rename user table
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 2e82aab8ef20 -> 211e584da130, add TI state index
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 211e584da130 -> 64de9cddf6c9, add task fails journal table
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 64de9cddf6c9 -> f2ca10b85618, add dag_stats table
webserver_1 | INFO [alembic.runtime.migration] Running upgrade f2ca10b85618 -> 4addfa1236f1, Add fractional seconds to mysql tables
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 4addfa1236f1 -> 8504051e801b, xcom dag task indices
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 8504051e801b -> 5e7d17757c7a, add pid field to TaskInstance
webserver_1 | INFO [alembic.runtime.migration] Running upgrade 5e7d17757c7a -> 127d2bf2dfa7, Add dag_id/state index on dag_run table
webserver_1 | ERROR [airflow.models.DagBag] Failed to import: /usr/local/airflow/dags/orders_staging.py
webserver_1 | Traceback (most recent call last):
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 263, in process_file
webserver_1 | m = imp.load_source(mod_name, filepath)
webserver_1 | File "/usr/local/airflow/dags/orders_staging.py", line 29, in <module>
webserver_1 | tmpl_search_path = Variable.get("sql_path")
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/utils/db.py", line 53, in wrapper
webserver_1 | result = func(*args, **kwargs)
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 3598, in get
webserver_1 | raise KeyError('Variable {} does not exist'.format(key))
webserver_1 | KeyError: u'Variable sql_path does not exist'
webserver_1 | ERROR [airflow.models.DagBag] Failed to import: /usr/local/airflow/dags/process_order_fact.py
webserver_1 | Traceback (most recent call last):
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 263, in process_file
webserver_1 | m = imp.load_source(mod_name, filepath)
webserver_1 | File "/usr/local/airflow/dags/process_order_fact.py", line 29, in <module>
webserver_1 | tmpl_search_path = Variable.get("sql_path")
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/utils/db.py", line 53, in wrapper
webserver_1 | result = func(*args, **kwargs)
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 3598, in get
webserver_1 | raise KeyError('Variable {} does not exist'.format(key))
webserver_1 | KeyError: u'Variable sql_path does not exist'
webserver_1 | ERROR [airflow.models.DagBag] Failed to import: /usr/local/airflow/dags/product_staging.py
webserver_1 | Traceback (most recent call last):
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 263, in process_file
webserver_1 | m = imp.load_source(mod_name, filepath)
webserver_1 | File "/usr/local/airflow/dags/product_staging.py", line 29, in <module>
webserver_1 | tmpl_search_path = Variable.get("sql_path")
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/utils/db.py", line 53, in wrapper
webserver_1 | result = func(*args, **kwargs)
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 3598, in get
webserver_1 | raise KeyError('Variable {} does not exist'.format(key))
webserver_1 | KeyError: u'Variable sql_path does not exist'
webserver_1 | ERROR [airflow.models.DagBag] Failed to import: /usr/local/airflow/dags/customer_staging.py
webserver_1 | Traceback (most recent call last):
webserver_1 | File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 263, in process_file
webserver_1 | m = imp.load_source(mod_name, filepath)