airflow-commits mailing list archives

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

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

Chris Riccomini commented on AIRFLOW-712:
-----------------------------------------

[~alexvanboxel], I think I got you added as an administrator now. Want to retry?

> 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
>
> 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