Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCSToBQLoadRunnable does not detect error during load and removes blobs even though they were not loaded #312

Open
zinok opened this issue Dec 22, 2022 · 0 comments

Comments

@zinok
Copy link

zinok commented Dec 22, 2022

How it was discovered?

I have found out that some data is missing from table, even though records were present in Kafka.

How that happens?

GCSToBQLoadRunnable checks if job is complete here, but in fact it does not check for a potential error during load. As a result the job is treated as successful even tough it was failed.

Evidence

[2022-12-22 21:31:30,663] TRACE Job is marked done: id=JobId{project=archimedes-337602, job=7d28940e-7882-414b-9bb3-c6c8c7e1307c, location=us-west1}, status=JobStatus{state=DONE, error=BigQueryError{reason=quotaExceeded, location=partition_modifications_per_column_partitioned_table.long, message=Quota exceeded: Your table exceeded quota for Number of partition modifications to a column partitioned table. For more information, see https://cloud.google.com/bigquery/docs/troubleshoot-quotas}, executionErrors=[BigQueryError{reason=quotaExceeded, location=partition_modifications_per_column_partitioned_table.long, message=Quota exceeded: Your table exceeded quota for Number of partition modifications to a column partitioned table. For more information, see https://cloud.google.com/bigquery/docs/troubleshoot-quotas}]} (com.wepay.kafka.connect.bigquery.GCSToBQLoadRunnable)

As we can see that state is DONE, but there was an error related to quotas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant