Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Fokko Driesprong d494d5a656 [AIRFLOW-2918] Fix Flake8 violations (#3772)
- Unused imports
- Wrong import order
- Small identation fixes
- Remove one letter variables
- Fix noqa annotations
2018-08-20 23:44:36 +01:00
Bolke de Bruin c7a472ed6b [AIRFLOW-2287] Fix incorrect ASF headers
Closes #3219 from bolkedebruin/fix_header
2018-04-14 09:13:23 +02:00
AllisonWang b49986c3b2 [Airflow 1332] Split logs based on try number
This PR splits logs based on try number and add
tabs to display different task instance tries.

**Note this PR is a temporary change for
separating task attempts. The code in this PR will
be refactored in the future. Please refer to #2422
for Airflow logging abstractions redesign.**

Testing:
1. Added unit tests.
2. Tested on localhost.
3. Tested on production environment with S3 remote
storage, MySQL database, Redis, one Airflow
scheduler and two airflow workers.

Closes #2383 from AllisonWang/allison--add-task-
attempt
2017-07-20 18:08:18 -07:00
Siddharth Anand c64e876bd5 [AIRFLOW-1054] Fix broken import in test_dag
Closes #2201 from
r39132/fix_broken_import_on_test_dag
2017-04-03 13:10:51 -07:00
Jeremiah Lowin bbfd43df46 [AIRFLOW-863] Example DAGs should have recent start dates
Avoid unnecessary backfills by having start dates
of
just a few days ago. Adds a utility function
airflow.utils.dates.days_ago().

Closes #2068 from jlowin/example-start-date
2017-02-12 15:37:56 -05:00
Kengo Seki 46236fa707 [AIRFLOW-586] test_dag_v1 fails from 0 to 3 a.m.
dags/test_dag.py tries to set START_DATE to 3
hours before using
datetime.replace, but it doesn't support minus
value as argument.
So we have to use timedelta instead of simple
numeric subtraction.

Closes #1852 from sekikn/AIRFLOW-586
2016-10-26 19:47:35 -07:00
Siddharth Anand 62768bc087 [AIRFLOW-399] - Remove dags/testdruid.py
Remove the current example in dags/testdruid.py. It requires the installation of an extraneous library (Hive) and executes a query against table that no one has. In its place, I am creating a simple DAG that only depends on DummyOperator and standard Python packages.

Dear Airflow Maintainers,

Please accept this PR that addresses the following issues:
- https://issues.apache.org/jira/browse/AIRFLOW-399

Testing Done:
Manual.

aoen criccomini artwr jlowin bolkedebruin

Closes #1709 from r39132/master
2016-08-08 09:23:49 -07:00