-
Notifications
You must be signed in to change notification settings - Fork 219
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
larger than 2 GB single-part uploads #1
Comments
Waiting for jclouds 2.0 release. |
I tried to upload > 2GB object into s3proxy 1.4.0 launched within a docker container obtained from https://hub.docker.com/r/stevemayne/s3proxy/ but the upload failed with: "Reason: content length must be non-negative, was: -2093729376" I checked s3proxy code and it seems that https://issues.apache.org/jira/browse/JCLOUDS-264 is not the only problem. Another problem is that in S3ProxyHandler.handlePutBlob() Content-Length provided in a request was parsed but not used to build PayloadBlobBuilder until cea4a42. Anyways, 1.4.0 is unusable for for >2GB single-part uploads. |
@pstrzelczak Unfortunately S3Proxy 1.4.0 still uses jclouds 1.9.x which does not include a fix for this issue. I am still waiting on jclouds 2.0.0 release before release S3Proxy 1.5.0. Can you try the Dockerfile from #123 instead which uses the master branch? cea4a42 is not relevant to your issue which only applies to v4 signatures which 1.4.0 does not support. |
jclouds dependency on Java 6 limits S3Proxy to 2 GB single-part uploads. When jclouds merges jclouds/jclouds#426 S3Proxy can support larger uploads, although many providers have a 5 GB single-part limit.
The text was updated successfully, but these errors were encountered: