Skip to content

Consider replacing GCSFS with google.cloud.storage for unstructured data #914

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

Closed
vringar opened this issue May 3, 2021 · 2 comments
Closed

Comments

@vringar
Copy link
Contributor

vringar commented May 3, 2021

Currently the writing of unstructured data for whatever reason keeps throwing the same error:

gcsfs.utils.HttpError: Invalid request. The number of bytes uploaded is required to be equal or greater than 262144, except for the final request (it's recommended to be the exact multiple of 262144). The received request contained 559 bytes, which does not meet this requirement., 400 

(This is on d09e213)

When using google.cloud.storage we could specify the compression and everything else we want and hopefully eliminate this error.

@boolean5
Copy link
Contributor

boolean5 commented May 4, 2021

In two issues mentioning this error the users were able to resolve it by removing a configuration file: see [1] and [2]. I doubt this will be useful in our setup but I'm leaving them here in case they give you an idea.

@vringar
Copy link
Contributor Author

vringar commented May 5, 2021

Steps to still try:
v0.14.0 as it was
v0.14.0 with deps updated
file gcsfs issue on the repo

@vringar vringar closed this as completed May 11, 2021
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

2 participants