airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sathyaprakash Govindasamy (JIRA)" <>
Subject [jira] [Commented] (AIRFLOW-2342) DAG in running state but tasks not running
Date Fri, 27 Apr 2018 06:25:00 GMT


Sathyaprakash Govindasamy commented on AIRFLOW-2342:

I see that error occurs when _SqlSensor_ is tried to be imported in _daily_building_blocks_main_

File "/home/airflow_sa/dags/", line 14, in <module> from
airflow.operators.sensors import SqlSensor

You can run interactive python shell and run this below line to see whether it throws any
from airflow.operators.sensors import SqlSensor{code}
This error is caused by _snakbite_ import in hdfs_hook (which is internally called in _sensors_

File "/usr/local/lib/python2.7/site-packages/airflow/hooks/", line 20, in <module>
from snakebite.client import Client, HAClient, Namenode, AutoConfigClient

But I see that in 1.8, this import is within try block. So I am not sure why this import statement
is getting filed. 


You can inspect the file */usr/local/lib/python2.7/site-packages/airflow/hooks/* in
your system to see whether this import is really in try block

> DAG in running state but tasks not running
> ------------------------------------------
>                 Key: AIRFLOW-2342
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: DagRun
>    Affects Versions: Airflow 1.8
>         Environment: Redhat
>            Reporter: chidrup jhanjhari
>            Priority: Major
>         Attachments:
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> Hi, We are on Airflow 1.8.0. We have airflow production environment running well since
8 months. There has been no change on configuration etc. The issue is since 2 days DAGs are
showing in running state but the tasks are not getting triggered. After the default start
task, the DAG run is not moving to the next task. Attached is the scheduler throwing following
> 2018-04-19 01:32:22,586] \{} DagFileProcessor17 ERROR - Got an exception!
> Traceback (most recent call last):
>   Any help will be greatly appreciated.

This message was sent by Atlassian JIRA

View raw message