airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-2925) gcp dataflow hook doesn't show traceback
Date Mon, 22 Oct 2018 10:38:00 GMT

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

jack commented on AIRFLOW-2925:
-------------------------------

[~xnuinside] where does the log shows the exception message? "DataFlow failed with return
code..."

> gcp dataflow hook doesn't show traceback
> ----------------------------------------
>
>                 Key: AIRFLOW-2925
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2925
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>            Reporter: jack
>            Priority: Major
>              Labels: easyfix
>
> The gcp_dataflow_hook.py has:
>  
> {code:java}
> if self._proc.returncode is not 0:           
>     raise Exception("DataFlow failed with return code {}".format(self._proc.returncode))
> {code}
>  
> This does not show the full trace of the error which makes it harder to understand the
problem.
> [https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/hooks/gcp_dataflow_hook.py#L171]
>  
>  
> reported on gitter by Oscar Carlsson



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

Mime
View raw message