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

Closed
DaveEzrakhovich opened this issue Aug 5, 2014 · 2 comments
Closed

Google BigQuery crashes after temp file roatation #1599

DaveEzrakhovich opened this issue Aug 5, 2014 · 2 comments
Labels

Comments

@DaveEzrakhovich
Copy link

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

@untergeek
Copy link
Member

Thanks! We appreciate the ideas here.

Would you be willing to contribute these changes yourself?

You can now issue pull requests to each plugin independently:
https://github.com/logstash-plugins/logstash-output-google_cloud_storage
https://github.com/logstash-plugins/logstash-output-google_bigquery

@purbon
Copy link
Contributor

purbon commented May 22, 2015

Migrated this issue to logstash-plugins/logstash-output-google_bigquery#10 as it belongs to the plugin.

@purbon purbon closed this as completed May 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants