airflow-scheduler Questions

7

I am running Airflow via docker through this image apache/airflow:2.1.0 Please refer to this thread for the initial error I faced. Currently I am able to run my previous existing DAGs. However when...
Clarkclarke asked 15/6, 2021 at 14:23

3

Solved

I want to use airflow DAG to run some jobs. I have scheduled the expression to every 25 mins, like */25 * * * *. for instance, it seems to run, like at 6:25, 6:50, and at 7 as well, but I want to r...
Ischia asked 20/10, 2019 at 14:35

8

I'm using Airflow v1.8.1 and run all components (worker, web, flower, scheduler) on kubernetes & Docker. I use Celery Executor with Redis and my tasks are looks like: (start) -> (do_work_fo...
Pearly asked 24/8, 2017 at 4:33

4

Solved

I see that one can trigger_dag with parameters/config key-value pairs using the airflow command line: For Apache Airflow, How can I pass the parameters when manually trigger DAG via CLI? In my ca...
Gluttony asked 6/3, 2020 at 1:32

4

Solved

I am trying to configure remote logging with Azure blob. Airflow version: 1.10.2 Python: 3.6.5 Ubuntu: 18.04 Following are the step I did: In $AIRFLOW_HOME/config/log_config.py, I have put REM...
Shotwell asked 21/3, 2019 at 6:4

2

Solved

Airflow scheduler kinda left me scratching my head for the past few days as it backfills dag runs even after catchup=False. My timezone-aware dag has a start date of 13-04-2021 19:30 PST or 14-04-2...
Colligan asked 22/4, 2021 at 11:59

1

We are running a large number of DAGS, and as a result, thousands of task instances for each calendar date. We have sporadic days that have failed and we are attempting to re-run those dates as eff...
Musser asked 13/4, 2020 at 14:41

4

Solved

I'm testing the use of Airflow, and after triggering a (seemingly) large number of DAGs at the same time, it seems to just fail to schedule anything and starts killing processes. These are the logs...
Postboy asked 29/8, 2019 at 15:26

2

Solved

Does anyone use MWAA in production? We currently have around 500 DAGs running and we see an unexpected behavior with tasks staying in a "queued" state for unknown reasons. Task is in the...
Bellini asked 6/1, 2022 at 12:29

4

Solved

We have 100 of dags which has a prefix with "dag_EDW_HC_*" . we have below command to pause the dag Command: airflow pause dag_id Is there any way we can pause all the 100 dags "dag...
Jovitta asked 6/8, 2020 at 14:8

2

Solved

I am currently using Airflow Taskflow API 2.0. I am having an issue of combining the use of TaskGroup and BranchPythonOperator. Below is my code: import airflow from airflow.models import DAG from ...
Revenge asked 27/5, 2021 at 10:38

2

Solved

I am new to airflow, tried to run a dag by starting airflow webserver and scheduler. After I closed the scheduler and airflow webserver, the airflow processes are still running. ps aux | grep airfl...
Episcopate asked 10/1, 2021 at 17:26

2

Is it possible to run an airflow task only when a specific event occurs like an event of dropping a file into a specific S3 bucket. Something similar to AWS Lambda events There is S3KeySensor but ...
Meridel asked 4/11, 2019 at 13:52

5

I am using airflow cli's backfill command to manually run some backfill jobs. airflow backfill mydag -i -s 2018-01-11T16-00-00 -e 2018-01-31T23-00-00 --reset_dagruns --rerun_failed_tasks The d...
Mouldy asked 20/9, 2018 at 15:47

9

Solved

I have a dag that we'll deploy to multiple different airflow instances and in our airflow.cfg we have dags_are_paused_at_creation = True but for this specific dag we want it to be turned on without...
Liberal asked 5/6, 2017 at 1:1

8

We're running into a permission error when using Airflow, receiving the following error: PermissionError: [Errno 13] Permission denied: '/usr/local/airflow/logs/scheduler/2019-12-18/../../../../ho...
Hankypanky asked 19/12, 2019 at 15:43

2

Solved

I have a little problem, I want to do the typical conditional like setting_x = Variable.get('setting_x') variable = setting_x if setting_x else 0 But since the Airflow model throws an exception...
Tyburn asked 14/6, 2018 at 17:0

3

I am running Airflowv1.9 with Celery Executor. I have 5 Airflow workers running in 5 different machines. Airflow scheduler is also running in one of these machines. I have copied the same airflow.c...
Fulgor asked 9/4, 2019 at 8:53

2

Solved

I have an upload folder that gets irregular uploads. For each uploaded file, I want to spawn a DAG that is specific to that file. My first thought was to do this with a FileSensor that monitors the...
Phreno asked 17/7, 2020 at 22:8

2

I'm running Airflow 1.9.0 with LocalExecutor and PostgreSQL database in a Linux AMI. I want to manually trigger DAGs, but whenever I create a DAG that has schedule_interval set to None or to @once,...
Greenquist asked 25/7, 2018 at 13:56

6

I have an Airflow DAG scheduled to run daily. When I start a backfill for the last month, Airflow will start processing the runs from oldest to newest. As a single run takes a couple of hours, whic...
Lunch asked 18/7, 2018 at 11:39

1

I try to use configs in dag using "trigger w/config". def execute(**kwargs): dag_run = kwargs['dag_run'] start_date = dag_run.conf['start_dt'] if 'start_dt' in dag_run.conf.keys() el...
Buckish asked 30/3, 2022 at 9:8

2

Colleagues, we need help. There are two dags Parent and Child, parent has its own schedule, suppose '30 * * * * ', child '1 8-17 * * 1-5', child waits for parent to execute, for example 40 minutes,...
Penury asked 6/3, 2021 at 10:34

5

Solved

I am new to Apache airflow and DAG. There are total 6 tasks in the DAG (task1, task2, task3, task4, task5, task6). But at the time of running the DAG we are getting the error below. DAG unsupported...
Efficacious asked 14/7, 2020 at 12:28

15

Airflow is randomly not running queued tasks some tasks dont even get queued status. I keep seeing below in the scheduler logs [2018-02-28 02:24:58,780] {jobs.py:1077} INFO - No tasks to consider...
Smoking asked 28/2, 2018 at 2:28

© 2022 - 2025 — McMap. All rights reserved.