[
https://issues.apache.org/jira/browse/BEAM-5514?focusedWorklogId=172149&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-172149
]
ASF GitHub Bot logged work on BEAM-5514:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Dec/18 04:35
Start Date: 05/Dec/18 04:35
Worklog Time Spent: 10m
Work Description: reuvenlax commented on issue #7189: [BEAM-5514]
BigQueryIO doesn't handle quotaExceeded errors properly
URL: https://github.com/apache/beam/pull/7189#issuecomment-444355768
This PR is a mix between a required safe change (retrying on rate-limit
exceeded) and a risky change. The second part of this PR risks causing
scalability regressions for existing users of BigQueryIO, and so needs to be
tested at very high scale before being merged IMO. I would recommend splitting
this PR: we should have one PR just for the simple change to retry the
rate-limit error, and we can discuss the rest in another PR.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 172149)
Time Spent: 1h 20m (was: 1h 10m)
> BigQueryIO doesn't handle quotaExceeded errors properly
> -------------------------------------------------------
>
> Key: BEAM-5514
> URL: https://issues.apache.org/jira/browse/BEAM-5514
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Reporter: Kevin Peterson
> Assignee: Heejong Lee
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> When exceeding a streaming quota for BigQuery insertAll requests, BigQuery
> returns a 403 with reason "quotaExceeded".
> The current implementation of BigQueryIO does not consider this to be a rate
> limited exception, and therefore does not perform exponential backoff
> properly, leading to repeated calls to BQ.
> The actual error is in the
> [ApiErrorExtractor|https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java#L739]
> class, which is called from
> [BigQueryServicesImpl|https://github.com/GoogleCloudPlatform/bigdata-interop/blob/master/util/src/main/java/com/google/cloud/hadoop/util/ApiErrorExtractor.java#L263]
> to determine how to retry the failure.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)