You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kevin Mandich (JIRA)" <ji...@apache.org> on 2016/07/28 22:19:20 UTC

[jira] [Comment Edited] (AIRFLOW-123) Differentiate Between Failure and Timeout

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

Kevin Mandich edited comment on AIRFLOW-123 at 7/28/16 10:18 PM:
-----------------------------------------------------------------

Hi Chris,

I had number 3 in mind. I'll update the description to specify this. I was thinking it'd be useful to see if a task failed because the runtime reached the task-defined timeout. You can of course just check the log of the individual task, but in my use case I sometimes have to take different actions depending on the failure mode and it would be nice to just take the action at the Tree View level (e.g. clear from some upstream point without going into the logs).


was (Author: kevinmandich@gmail.com):
Hi Chris,

I had number 3 in mind. I'll update the description to specify this. I was thinking it'd be useful to see if a task failed because the runtime reached the task-defined timeout. You can of course just check the log of the individual task, but in my use case I sometimes have to take different actions depending on the failure mode and it would be nice to just take the action at the Tree View level (e.g. clear from some upstream point without going into the logs). 

This leads to my second wish - the ability to automate these actions by programming them directly into the DAG, and as a function of the failure mode.

> Differentiate Between Failure and Timeout
> -----------------------------------------
>
>                 Key: AIRFLOW-123
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-123
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: db, operators, ui
>            Reporter: Kevin Mandich
>            Priority: Minor
>
> Currently, timeouts (when a task's runtime reaches the task-defined timeout) are classified as a failure. It would be useful to differentiate states between a failure due to a timeout and, as an example, a failure due to an exception being raised in a PythonOperator.
> At a minimum, it would be useful to see a task which failed due to timeout visualized as a different color in the Tree View. It would also be nice to utilize this classification as part of DAG logic. Examples here include an option to retry on timeouts specifically, and the ability to take a different action downstream if a particular task failed due to timeout.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)