airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-2073) FileSensor always return True
Date Thu, 08 Feb 2018 12:24:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16356881#comment-16356881
] 

Ash Berlin-Taylor commented on AIRFLOW-2073:
--------------------------------------------

FileSensor in 1.9.0 lives here https://github.com/apache/incubator-airflow/blob/1.9.0/airflow/contrib/operators/fs_operator.py

> FileSensor always return True
> -----------------------------
>
>                 Key: AIRFLOW-2073
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2073
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.9.0
>         Environment: Ubuntu 16.04
>            Reporter: Pierre Payet
>            Priority: Trivial
>
> When using a FileSensor, the path is tested with os.walk. However, this function never
raise an error if the path does not exist and the poke will always return True.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message