airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Van Boxel (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (AIRFLOW-712) Google BQ hook retry doesn't work
Date Fri, 23 Dec 2016 22:15:58 GMT

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

Alex Van Boxel closed AIRFLOW-712.
----------------------------------
    Resolution: Fixed

> Google BQ hook retry doesn't work
> ---------------------------------
>
>                 Key: AIRFLOW-712
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-712
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: gcp
>            Reporter: Chris Riccomini
>            Assignee: Chris Riccomini
>             Fix For: Airflow 1.8
>
>
> AIRFLOW-667 is broken. When the 500/503 error triggers, we see:
> {noformat}
> [2016-12-22 14:22:08,870] {models.py:1299} ERROR - 'HttpError' object has no attribute
'code'
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/airflow/models.py", line 1258, in run
>     result = task_copy.execute(context=context)
>   File "/usr/lib/python2.7/site-packages/airflow/contrib/operators/bigquery_operator.py",
line 67, in execute
>     self.allow_large_results, self.udf_config, self.use_legacy_sql)
>   File "/usr/lib/python2.7/site-packages/airflow/contrib/hooks/bigquery_hook.py", line
214, in run_query
>     return self.run_with_configuration(configuration)
>   File "/usr/lib/python2.7/site-packages/airflow/contrib/hooks/bigquery_hook.py", line
490, in run_with_configuration
>     if err.code in [500, 503]:
> AttributeError: 'HttpError' object has no attribute 'code'
> {noformat}



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

Mime
View raw message