Re: S3 multipart upload throws NPE occasionally

2021-09-14 Thread John Calcote
I just realized the problem is probably due to the fact that HTML is generally case insensitive and the regex expects the HMTL tag to be exactly . It's much easier (for me) to imagine the match failed because they used an HTML tag with a different case than to imagine they embedded a space in the i

Re: S3 multipart upload throws NPE occasionally

2021-09-14 Thread John Calcote
Hi Andrew, Thanks for the quick response, but I don't think there's anything wrong with that regex. The expression - "([\\S&&[^<]]+)" - is pretty simple once you understand what the double ampersand does - it's an intersection operator. This regex means: Match the string X where X can be any list

Re: S3 multipart upload throws NPE occasionally

2021-09-09 Thread Andrew Gaul
On Thu, Sep 09, 2021 at 07:37:49PM -, John Calcote wrote: > java.lang.NullPointerException: Null id > at > org.jclouds.blobstore.domain.AutoValue_MultipartUpload.(AutoValue_MultipartUpload.java:32) > ~[jclouds-blobstore-2.3.0.jar:2.3.0] > at > org.jclouds.blobstore.domain.Mul

S3 multipart upload throws NPE occasionally

2021-09-09 Thread John Calcote
Hi Andrew, I'm running jclouds 2.3.0 these days. Here's the call stack: java.lang.NullPointerException: Null id at org.jclouds.blobstore.domain.AutoValue_MultipartUpload.(AutoValue_MultipartUpload.java:32) ~[jclouds-blobstore-2.3.0.jar:2.3.0] at org.jclouds.blobstore.domain.Mul

Re: Swift Multipart upload SLO or DLO

2017-04-05 Thread Andrew Gaul
Sorry I cannot help you debug your Swift configuration. jclouds SLO works with properly configured public providers like Rackspace so I suggest exploring the differences between it and your local setup. jclouds 2.0.0 does not support DLO and the older jclouds 1.9.1 Swift implementation works diffe

Re: Swift Multipart upload SLO or DLO

2017-04-05 Thread Archana C
Hi 1. Do you enable "SLO" in swift as required filter (swift/proxy/server.py)     required_filters = [     {'name': 'catch_errors'},     {'name': 'gatekeeper', 'after_fn': lambda pipe: (['catch_errors']    if pipe.startswith('catch_errors')

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) o

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 [

Re: MultiPart Upload

2017-02-08 Thread Zack Shoylev
Subject: MultiPart Upload Hi Is there a way to substitute attributes in MultipartUploadSlicingAlgorithm (min, max and number of parts) in jClouds-2.0 ? Regards Archana

MultiPart Upload

2017-02-08 Thread Archana C
Hi Is there a way to substitute attributes in MultipartUploadSlicingAlgorithm  (min, max and number of parts) in jClouds-2.0 ? RegardsArchana

Re: jClouds 2.0 MultiPart Upload

2017-02-06 Thread Zack Shoylev
M To: user@jclouds.apache.org Subject: Re: jClouds 2.0 MultiPart Upload Does it mean if we are not specifying executorservice, the upload happens in sequential ? Regards Archana On Saturday, 4 February 2017, 10:34, Andrew Gaul wrote: PutOptions *takes* an ExecutorService which allows multiple

Re: jClouds 2.0 MultiPart Upload

2017-02-03 Thread Archana C
disabling the wire logs? (I recommend doing this for > > production environments). > > Perhaps for your use case the "jclouds.headers" are enough; that will log > > all request/reponse path and headers but skip the bodies. > > More on this here:https://issues.apa

Re: jClouds 2.0 MultiPart Upload

2017-02-03 Thread Andrew Gaul
t will log > > all request/reponse path and headers but skip the bodies. > > More on this here:https://issues.apache.org/jira/browse/JCLOUDS-1187 > > https://issues.apache.org/jira/browse/JCLOUDS-932 > > > > > > HTH! > > I. > > On Feb

Re: jClouds 2.0 MultiPart Upload

2017-02-03 Thread Archana C
n this here:https://issues.apache.org/jira/browse/JCLOUDS-1187 > https://issues.apache.org/jira/browse/JCLOUDS-932 > > > HTH! > I. > On Feb 3, 2017 06:22, "Archana C" wrote: > > Hi > > I have written a sample code for multipart upload using jClouds-2.0

Re: jClouds 2.0 MultiPart Upload

2017-02-03 Thread Andrew Gaul
UDS-1187 > https://issues.apache.org/jira/browse/JCLOUDS-932 > > > HTH! > I. > On Feb 3, 2017 06:22, "Archana C" wrote: > > Hi > > I have written a sample code for multipart upload using jClouds-2.0 >     Properties overrides = new Properties(); &

Re: jClouds 2.0 MultiPart Upload

2017-02-03 Thread Archana C
sues.apache.org/jira/browse/JCLOUDS-932 HTH! I. On Feb 3, 2017 06:22, "Archana C" wrote: Hi I have written a sample code for multipart upload using jClouds-2.0     Properties overrides = new Properties();         BlobStoreContext context = ContextBuilder.newBuilder(" openstac

Re: jClouds 2.0 MultiPart Upload

2017-02-03 Thread Archana C
and headers but skip the bodies. More on this here:https://issues.apache.org/jira/browse/JCLOUDS-1187 https://issues.apache.org/jira/browse/JCLOUDS-932 HTH! I. On Feb 3, 2017 06:22, "Archana C" wrote: Hi I have written a sample code for multipart upload using jClouds-2.0     Propert

Re: jClouds 2.0 MultiPart Upload

2017-02-02 Thread Ignasi Barrera
e/JCLOUDS-1187 https://issues.apache.org/jira/browse/JCLOUDS-932 HTH! I. On Feb 3, 2017 06:22, "Archana C" wrote: > Hi > > *I have written a sample code for multipart upload using jClouds-2.0* > > Properties overrides = new Properties(); > BlobStoreContext context

jClouds 2.0 MultiPart Upload

2017-02-02 Thread Archana C
Hi I have written a sample code for multipart upload using jClouds-2.0     Properties overrides = new Properties();         BlobStoreContext context = ContextBuilder.newBuilder("openstack-swift")                 .endpoint("http://x.xxx.xx.xx:5000/v2.0";)