Re: Swift Multipart Manifest Upload

2017-04-04 Thread Andrew Gaul
Mat Mannion reported and fixed a related issue; does this address your
question?

https://github.com/jclouds/jclouds/pull/1083
https://issues.apache.org/jira/browse/JCLOUDS-1264

On Tue, Mar 28, 2017 at 07:59:16AM +, Archana C wrote:
> 
> Content length of the manifest file for multipart upload in swift doesnot 
> have size of entire blob instead it has the content length of the manifest 
> file.As per the javadoc [1] Content-Length of the manifest must be size of 
> the blob.
> As per my observation content length of the manifest has is not content 
> length of the blob.
> Also in the comments mentioned in below reference, Its clear that content 
> length will be set to the object size once the PUT operation is complete.
> Can you point us to the code snippet, where computation of content length 
> happens once PUT is completed ?
> 
> [1] 
> https://github.com/jclouds/jclouds/blob/master/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/binders/BindManifestToJsonPayload.java
> 
> RegardsArchana

-- 
Andrew Gaul
http://gaul.org/


Re: Swift Multipart upload SLO or DLO

2017-04-04 Thread Andrew Gaul
jclouds supports static large objects with Swift.  We could add support
for dynamic objects but these have a number of caveats and differ from
other providers.

On Tue, Apr 04, 2017 at 04:28:56PM +, Archana C wrote:
> Hi 
> 
> Does jclouds 2.0.0 supports swift Static Large Object Upload (SLO) or Dynamic 
> Large Object Upload(DLO) ?
> 
> As per our observation,
> 1. It looks like jClouds does SLO and not DLO.
> 2. SLO requires no headers whereas DLO requires X-Object-Manifest as header 
> while manifest upload as mentioned in [1].
> 
> [1] https://docs.openstack.org/user-guide/cli-swift-large-object-creation.html
> RegardsArchana
> 

-- 
Andrew Gaul
http://gaul.org/


Swift Multipart upload SLO or DLO

2017-04-04 Thread Archana C
Hi 

Does jclouds 2.0.0 supports swift Static Large Object Upload (SLO) or Dynamic 
Large Object Upload(DLO) ?

As per our observation,
1. It looks like jClouds does SLO and not DLO.
2. SLO requires no headers whereas DLO requires X-Object-Manifest as header 
while manifest upload as mentioned in [1].

[1] https://docs.openstack.org/user-guide/cli-swift-large-object-creation.html
RegardsArchana