airflow-commits mailing list archives

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

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

ASF subversion and git services commented on AIRFLOW-712:
---------------------------------------------------------

Commit edf55cd21e1d220c1d19031d7f1b8e666aad770c in incubator-airflow's branch refs/heads/master
from [~criccomini]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=edf55cd ]

[AIRFLOW-712] Fix AIRFLOW-667 to use proper HTTP error properties

Closes #1955 from criccomini/AIRFLOW-712


> 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