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 réponse
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.

répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions