Skip to content Skip to sidebar Skip to footer
Showing posts with the label Airflow

Airflow Run Tasks At Different Times In The Same Dag?

I have 30 individual tasks in a dag, they have no dependencies between each other. The tasks run th… Read more Airflow Run Tasks At Different Times In The Same Dag?

Bashoperator Raising Importerror For A Lib Used In Other Pythonoperators

I have a set of tasks in my dag builder module which uses Python operator as used worldwide in Airf… Read more Bashoperator Raising Importerror For A Lib Used In Other Pythonoperators

Airflow Webserver Not Starting In 1.10

Trying to migrate from Airflow 1.9 to Airflow 1.10. After some effort I was able to install the new… Read more Airflow Webserver Not Starting In 1.10

Listing Variables From External Script Python Without The Built-in And Imported Variables

I'm writing a python script that gets parameters from a json file, opens a template script spec… Read more Listing Variables From External Script Python Without The Built-in And Imported Variables

Incorrect Work Of Scheduler Interval And Start Time In Apache Airflow

Can't find the solution with start time of tasks. I have code and can't find where I'm … Read more Incorrect Work Of Scheduler Interval And Start Time In Apache Airflow

Paperboy Throwing Error: Typeerror: The Json Object Must Be Str, Not 'bytes'?

I have installed paperboy using steps given at https://github.com/timkpaine/paperboy.git and execut… Read more Paperboy Throwing Error: Typeerror: The Json Object Must Be Str, Not 'bytes'?

Composer On Google Platform Not Available For Python 3

According to the documentation here: https://cloud.google.com/composer/docs/release-notes Composer … Read more Composer On Google Platform Not Available For Python 3

How Do I Restart Airflow Webserver?

I am using airflow for my data pipeline project. I have configured my project in airflow and start … Read more How Do I Restart Airflow Webserver?

Airflow 2.0.0+ - Pass A Dynamically Generated Dictionary To Dag Triggered By Triggerdagrunoperator

Previously, I was using the python_callable parameter of the TriggerDagRunOperator to dynamically a… Read more Airflow 2.0.0+ - Pass A Dynamically Generated Dictionary To Dag Triggered By Triggerdagrunoperator

Airflow - Branching Join Operators

I am trying to join branching operators in Airflow I did this : op1>>[op2,op3,op4] op2>>… Read more Airflow - Branching Join Operators

How To Use Non-installable Modules From Dag Code?

I have a Git repository which (among other things) holds Airflow DAGs in airflow directory. I have … Read more How To Use Non-installable Modules From Dag Code?

Store And Access Password Using Apache Airflow

We are using Airflow as a scheduler. I want to invoke a simple bash operator in a DAG. The bash scr… Read more Store And Access Password Using Apache Airflow

Import Error In Vscode Despite Setting The Pythonpath

I have an airflow environment locally deployed on WSL, and I am using VScode to debug and code. My … Read more Import Error In Vscode Despite Setting The Pythonpath

Run Airflow Dag For Each File

So I have this quite nice DAG in airflow which basically runs several analysis steps (implemented a… Read more Run Airflow Dag For Each File

Running Google Colab Every Day At A Specific Time

I recently have built a Python program that runs on Google Colaboratory, I need to run the program … Read more Running Google Colab Every Day At A Specific Time

How >> Operator Defines Task Dependencies In Airflow?

I was going through Apache Airflow tutorial https://github.com/hgrif/airflow-tutorial and encounter… Read more How >> Operator Defines Task Dependencies In Airflow?

Aws Cognito Oauth Configuration For Flask Appbuilder

I am setting up RBAC with Airflow, and testing locally to start. I have provisioned an AWS Cognito … Read more Aws Cognito Oauth Configuration For Flask Appbuilder

Python - AttributeError: 'NoneType' Object Has No Attribute 'execute'

I am trying to run a python script that logs into Amazon Redshift DB and then execute a SQL command… Read more Python - AttributeError: 'NoneType' Object Has No Attribute 'execute'

"Handling Signal: Ttou" Message While Running DAG In Airflow

I have created sample DAG, where I had DAG config as below. default_args = { 'owner': &… Read more "Handling Signal: Ttou" Message While Running DAG In Airflow

Apache Airflow : Airflow Initdb Results In "ImportError: No Module Named Json"

On Ubuntu 16.04 with Python 2.7 default version, I am trying to install Apache airflow but ran into… Read more Apache Airflow : Airflow Initdb Results In "ImportError: No Module Named Json"