skip to Main Content

new dags not shown on docker airflow

Problem: new dags not shown on docker airflow, no error when running airflow dags list-import-errors Docker image: official airflow image Dags path inside docker-compose.yaml (this is the default path): volumes: - ./dags:/opt/airflow/dags I put the dag file inside the dags…

VIEW QUESTION

EcsCreateClusterOperator import error in MWAA (Apache Airflow) – Amazon web services

I am trying to use class EcsCreateClusterOperator in MWAA but I get the following error: Broken DAG: [/usr/local/airflow/dags/etl_basic_ecs/etl_ecs_basic_dag.py] Traceback (most recent call last): File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/local/airflow/dags/etl_basic_ecs/etl_ecs_basic_dag.py", line 5, in <module> from airflow.providers.amazon.aws.operators.ecs import (…

VIEW QUESTION

Airflow GlueJobOperator not working with Workertype and NumberofWorkers – Amazon web services

I am trying to create a glue job with this configuration 'NumberOfWorkers': 2, 'WorkerType': 'G.1X'. Here's my code for job creation. job_name = "glue_job" submit_glue_job = AwsGlueJobOperator( task_id="glue_job", job_name=job_name, wait_for_completion=True, # num_of_dpus=10, retry_limit=0, script_location=f"s3://bucket/etl.py", s3_bucket=GLUE_EXAMPLE_S3_BUCKET, iam_role_name=GLUE_CRAWLER_ROLE.split("/")[-1], create_job_kwargs={ 'GlueVersion': '3.0', 'NumberOfWorkers':…

VIEW QUESTION
Back To Top
Search