You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2019/04/16 06:46:00 UTC

[jira] [Updated] (AIRFLOW-2925) gcp dataflow hook doesn't show traceback

     [ https://issues.apache.org/jira/browse/AIRFLOW-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jack updated AIRFLOW-2925:
--------------------------
    Component/s: hooks
                 gcp

> 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
>          Components: gcp, hooks
>    Affects Versions: 1.10.0
>            Reporter: jack
>            Priority: Major
>              Labels: easyfix
>         Attachments: Screen Shot 2018-10-23 at 1.40.43 PM.png
>
>
> 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)