jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-356) unable to perform multipart uploads w/ InputStream payload
Date Wed, 23 Oct 2013 22:10:43 GMT

    [ 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

View raw message