From 86d2e0d9f263708c673239c5a88a07a54202fbec Mon Sep 17 00:00:00 2001 From: Phil Sphicas Date: Fri, 24 Apr 2020 10:13:49 -0700 Subject: [PATCH] Fix airflow quicktest error airflow quicktest is throwing an error when trying to start the webserver: can't open file '_cmd': [Errno 2] No such file or directory Change-Id: I3fddc1cdd3daeacc09a5924287d711a72878c5e3 --- images/airflow/script/airflow_start_service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/airflow/script/airflow_start_service.sh b/images/airflow/script/airflow_start_service.sh index 70361f75..02a83a54 100755 --- a/images/airflow/script/airflow_start_service.sh +++ b/images/airflow/script/airflow_start_service.sh @@ -40,7 +40,7 @@ elif [[ $cmd == *scheduler* ]]; then done elif [[ $cmd == 'quicktest' ]]; then ${python3_path} ${airflow_path} initdb - ${python3_path} ${airflow}_cmd webserver -p 8080 & + ${python3_path} ${airflow_path} webserver -p 8080 & airflow run example_bash_operator runme_0 2018-01-01 airflow backfill example_bash_operator -s 2018-01-01 -e 2018-01-02 airflow dag_state example_bash_operator 2018-01-01