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

Google BigQuery crashes after temp file roatation #10

Closed
purbon opened this issue May 22, 2015 · 1 comment
Closed

Google BigQuery crashes after temp file roatation #10

purbon opened this issue May 22, 2015 · 1 comment

Comments

@purbon
Copy link

purbon commented May 22, 2015

Migrated from: elastic/logstash#1599

From the issue:

hi
after investigating an major issue i had with google_bigquery plugin i've found the following:
every time a file is being deleted using the google_bigquery plugin, logstash crushes with the error it can't find the file.

to fix the issue i've added to the File.delete(filename) statement in both google_bigquery and google_cloud_storage ruby files the following change

File.delete(filename) if File.exist?(filename)
it fixes the issue as files can be deleted in couple of statements prior to that roll out

for more info:
https://logstash.jira.com/browse/LOGSTASH-2247

please implement the change in the upcoming versions of the product,
Thanks,
Dave

related to: logstash-plugins/logstash-output-google_cloud_storage#2

@josephlewis42
Copy link
Contributor

The fix for this has been released as part of logstash-output-google_bigquery version 4.0.0.

WARNING 4.0.0 has breaking changes so read the changelog before upgrading to understand how they'll affect you.

The plugin can be updated with the following command

bin/logstash-plugin update logstash-output-google_bigquery

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

No branches or pull requests

2 participants