You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2013/10/24 00:10:43 UTC

[jira] [Commented] (JCLOUDS-356) unable to perform multipart uploads w/ InputStream payload

    [ https://issues.apache.org/jira/browse/JCLOUDS-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13803401#comment-13803401 ] 

Andrew Gaul commented on JCLOUDS-356:
-------------------------------------

SequentialMultipartUploadStrategy.execute calls BasePayloadSlicer.doSlice(InputStream, ...) which seeks and closes the underlying InputStream.  Instead the PayloadSlicer should return a lazy Iterator<ByteArrayPayload> which returns each chunk as needed, not seeking on the InputStream at all.

[~urandom] would you like to try to fix this?  Should be straightforward.

> unable to perform multipart uploads w/ InputStream payload
> ----------------------------------------------------------
>
>                 Key: JCLOUDS-356
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-356
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>            Reporter: Eric Evans
>
> I'm unable to do a multipart upload using an InputStream.  Only ~32MB (the chunk size) is uploaded and the following exception is raised:
> https://gist.github.com/eevans/4f848aa4b84af9bac0bf



--
This message was sent by Atlassian JIRA
(v6.1#6144)