How to execute parallel dags in Airflow in EC2 Instance

0

I have Installed Airflow as a service in EC2 Instance. It is working fine with Sequential execution. But While I am trying with Parallel execution I am facing Issues. It is not running parallel dags execution. I have installed PostgreSQL inside EC2 instance.

Step1: I have installed Airflow. Step2: Installed the Postgresql Step3: In airflow.cfg, modified to sequential Executor to Local Executor. Step4: Restarted the Airflow and scheduler.

1 回答
0

If you want parallel dags to run in EC2, you need to use another executor. Sequential executor will only allow single dag to run. You can use celery executor which is used for production level tasks. You can use Local executor also if you are just testing things out.

已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则