You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Fokko Driesprong (JIRA)" <ji...@apache.org> on 2017/12/07 09:18:00 UTC

[jira] [Commented] (AIRFLOW-1707) tasks of a sensor

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

Fokko Driesprong commented on AIRFLOW-1707:
-------------------------------------------

Hi Igor,

You're almost right. A sensor will observe some external state. For example, the creation of a file, completion of another dag, the creation of a partition in hive, etc. If this external states completes, it will continue processing the dag.
If the sensor is not satisfied within a set time bound, it will fail and the dag will stop to execute.

If there are any further questions, please ask it on the mailing list. The mailing list is more appropriate for this kind of questions and you will get answers more quickly. I'll close this ticket now.

Cheers, Fokko

> tasks of a sensor
> -----------------
>
>                 Key: AIRFLOW-1707
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1707
>             Project: Apache Airflow
>          Issue Type: Wish
>            Reporter: Igor Cherepanov
>
> Hello dear community,
> I want to understand more precisely the function of sensors. 
> Sensors are a kind of observers, which observe some states and have the task to return true or false if the state is satisfied or not. Is my thought correct? 
> Other function such as return some parameters on the further tasks does not include a sensor, is it right?
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)