Skip to content
Advertisement

Tag: airflow

Running airflow tasks/dags in parallel

I’m using airflow to orchestrate some python scripts. I have a “main” dag from which several subdags are run. My main dag is supposed to run according to the following overview: I’ve managed to get to this structure in my main dag by using the following lines: What I want airflow to do is to first run the etl_internal_sub_dag1 then

Add GCP credentials to airflow via command line

Airflow allows us to add connection information via command-line airflow connections. This can help with automated deployment of airflow installations via ansible or other dev-ops tools. It is unclear how connections to google cloud platform (service accounts) can be added to ariflow via command line. Answer Pre airflow 1.9 the following example outlines how to use a DAG to add

Accessing configuration parameters passed to Airflow through CLI

I am trying to pass the following configuration parameters to Airflow CLI while triggering a dag run. Following is the trigger_dag command I am using. My problem is that how can I access the con parameters passed inside an operator in the dag run. Answer This is probably a continuation of the answer provided by devj. At airflow.cfg the following

DAG not visible in Web-UI

I am new to Airflow. I am following a tutorial and written following code. On running the script, it doesn’t show any errors but when I check for dags in Web-UI it doesn’t show under Menu->DAGs But I can see the scheduled job under Menu->Browse->Jobs I also cannot see anything in $AIRFLOW_HOME/dags. Is it supposed to be like this only?

Unable to start Airflow worker/flower and need clarification on Airflow architecture to confirm that the installation is correct

Running a worker on a different machine results in errors specified below. I have followed the configuration instructions and have sync the dags folder. I would also like to confirm that RabbitMQ and PostgreSQL only needs to be installed on the Airflow core machine and does not need to be installed on the workers (the workers only connect to the

Advertisement