Hi,
I'm trying to work with jclouds 1.6.0. The documentation on
http://www.jclouds.org/documentation/userguide/blobstore-guide/ states that
one should go with streams.
The S3 backend doesn't seem to support streams, is that true?
java.lang.IllegalArgumentException: contentLength must be set, streaming
not supported
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
at
org.jclouds.s3.binders.BindS3ObjectMetadataToRequest.bindToRequest(BindS3ObjectMetadataToRequest.java:54)
Is there a way to work with streams? The code I'm currently using reads as
follows:
// InputStream in is set before
Blob blob = this.blobStore.blobBuilder("name").payload(in).build();
this.blobStore.putBlob("container", blob);
Cheers,
Oliver