skip to Main Content

Docker – Airflow DAG does not run properly independent if start_date is in the future, past or present

Today is 8th of September 2023. I run Airflow in Containers. Worker, Scheduler, etc. are on. I have the following DAG: from airflow import DAG from datetime import datetime from airflow.providers.postgres.operators.postgres import PostgresOperator with DAG('user_processing', start_date=datetime(2023,10,12), schedule_interval='@daily', catchup=False) as dag:…

VIEW QUESTION

Amazon web services – botocore.exceptions.NoRegionError: You must specify a region for EmrServerlessCreateApplicationOperator

I am trying to create a emr-serverless application through the EmrServerlessCreateApplicationOperator but I keep facing the error botocore.exceptions.NoRegionError: You must specify a region. I am passing the region like below: create_app = EmrServerlessCreateApplicationOperator( task_id="create_spark_app", job_type="SPARK", release_label="emr-6.6.0", config={"aws_access_key_id":args["aws_access_key_id"], "aws_secret_access_key": args["aws_secret_access_key"], "aws_session_token":…

VIEW QUESTION
Back To Top
Search