From a570778e599146fe5171465487aefa78ce4ac362 Mon Sep 17 00:00:00 2001 From: David Kinzer Date: Wed, 13 Jan 2021 19:06:42 -0500 Subject: [PATCH 1/2] Fix broken configuration. "num_runs" was set in 1.10.6 and it needs to be greater than 0 or it cases scheduler to run and restart in a forever loop. "max_threads" is deprecated and has been changed to "parsing_processes" --- defaults/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index ea910f6..f2c9dfd 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -197,14 +197,13 @@ airflow_defaults_config: scheduler: job_heartbeat_sec: 5 log_file: "{{ airflow_log_path }}/airflow-scheduler.log" - num_runs: 0 pid: "{{ airflow_pid_path }}/airflow-scheduler.pid" scheduler_heartbeat_sec: 5 statsd_on: False statsd_host: 'localhost' statsd_port: 8125 statsd_prefix: 'airflow' - max_threads: 2 + parsing_processes: 2 mesos: master: 'localhost:5050' From d0e1a9921b984c879c59140e5f1f56e287fa81e9 Mon Sep 17 00:00:00 2001 From: David Kinzer Date: Wed, 13 Jan 2021 19:20:40 -0500 Subject: [PATCH 2/2] update default version. --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index f2c9dfd..a89635a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -48,7 +48,7 @@ airflow_packages: - name: 'Cython' version: '0.28.2' - name: 'apache-airflow' - version: '1.9.0' + version: '1.10.14' - name: 'pipenv' airflow_extra_packages: - name: 'apache-airflow[crypto]'