[ 
https://issues.apache.org/jira/browse/JCLOUDS-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Klaus Müller updated JCLOUDS-161:
---------------------------------

    Attachment: image004.png
                image003.png

Hi,

I did a debug session uploading the 6MB file to Azure.
I think, the error is located in skipFully (ByteStreams.java):

-          First call is ok, skip 4 MB in stream

-          Second call: have to skip 4 MB, only about 2 MB of data available

-          amt is set to 1805776, n -= amt is > 0, so don't break

-          n is set to 2388528, but result of in.skip is 0 (no more data)

-          this is the reason for EOFException()


cheers
Klaus



Here 2 screenshots of debug session with important values:


[cid:[email protected]]




[cid:[email protected]]






                
> Large Blob Support for Azure
> ----------------------------
>
>                 Key: JCLOUDS-161
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-161
>             Project: jclouds
>          Issue Type: New Feature
>          Components: jclouds-blobstore
>    Affects Versions: 1.6.1
>            Reporter: John Kew
>            Assignee: Andrew Gaul
>             Fix For: 1.7.0, 1.6.2
>
>         Attachments: image003.png, image004.png
>
>
> Currently putBlob is limited to 64MB; in order for large blobs to be used one 
> must use a number of PutBlock calls followed by Put Block List.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to