yevsh opened a new issue #17395:
URL: https://github.com/apache/airflow/issues/17395
Airflow 2.1.2
runs as pod in kubernetes cluster.
python DAG is placed in airflow_dags location, airflow executes it twice!
From log:
```
[2021-08-02 14:48:07,900] {scheduler_job.py:1210} INFO - Executor reports
execution of TEST.submit execution_date=2021-08-02 13:48:05.155505+00:00 exited
with status success for try_number 1
[2021-08-02 14:48:07,900] {scheduler_job.py:1210} INFO - Executor reports
execution of TEST.submit execution_date=2021-08-02 12:48:05.155505+00:00 exited
with status success for try_number 1
```
(14:48:07 - is the system time in container)
```
default_args = {
'retries': 0,
'retry_delay': timedelta(0, 300),
'is_paused_upon_creation': False
}
dag = DAG(
'TEST',
default_args=default_args,
schedule_interval=relativedelta(hours=+1),
start_date= datetime(2021,8,2,0,0,1),
catchup=False,
is_paused_upon_creation=False,
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]