Re: BlobStore RestContext

2014-01-16 Thread Andrew Gaul
interface. Everett On Jan 6, 2014, at 9:12 AM, John D. Ament wrote: Andrew, Yes, that definitely helps. if I wanted to use the non provider specific interface, would SwiftClient be the right interface to use? John On Mon, Jan 6, 2014 at 12:54 AM, Andrew Gaul g...@apache.org

Re: Reusing BlobStores

2014-01-26 Thread Andrew Gaul
good for so long. So, does jclouds automatically reconnect to the provider if the session times out? John -- Andrew Gaul http://gaul.org/

Re: Reusing BlobStores

2014-01-27 Thread Andrew Gaul
these as singletons, and send data as appropriate. Thanks, John On Sun, Jan 26, 2014 at 9:44 PM, Andrew Gaul g...@apache.org wrote: Instantiating a BlobStoreContext performs several requests such authentication and populating metadata like bucket locations. This process has some overhead so

Clojure support

2014-02-19 Thread Andrew Gaul
Does anyone use the jclouds Clojure bindings, specifically blobstore2.clj? These have not seen many changes over the years and have made it harder to evolve the underlying Java jclouds APIs, e.g., https://github.com/jclouds/jclouds/pull/44 . Can someone volunteer to maintain these? -- Andrew

Re: Chunked upload with glance

2014-04-15 Thread Andrew Gaul
upload? Thank you -- Andrew Gaul http://gaul.org/

Re: 1.6.4 release?

2014-04-16 Thread Andrew Gaul
, prefer not to spread our finite volunteer resources across maintaining multiple stable branches and validating releases. A few users have asked for a 1.5.11 release as well! We should push them to upgrade to a more recent version of jclouds instead. -- Andrew Gaul http://gaul.org/

Re: Clojure support

2014-05-27 Thread Andrew Gaul
On Wed, Feb 19, 2014 at 01:04:43PM -0800, Andrew Gaul wrote: Does anyone use the jclouds Clojure bindings, specifically blobstore2.clj? These have not seen many changes over the years and have made it harder to evolve the underlying Java jclouds APIs, e.g., https://github.com/jclouds/jclouds

Re: blob storage provider for Google?

2014-05-27 Thread Andrew Gaul
at the existing Google support which implements OAuth. This will give you a good head start on any implementation. Good luck! -- Andrew Gaul http://gaul.org/

Re: links about BlobStore?

2014-05-27 Thread Andrew Gaul
their specific APIs. Users of jclouds use both the portable API as well as the provider-specific ones. -- Andrew Gaul http://gaul.org/

Re: [DISCUSS] Java 6 support

2014-05-28 Thread Andrew Gaul
On Wed, May 28, 2014 at 11:57:18AM -0700, Andrew Gaul wrote: jclouds presently supports Java 6, 7, and 8 which imposes extra development costs and prevents uptake of new language and library features including try-with-resources, NIO.2, and HTTP client improvements. Oracle ceased public

Re: LDAP Integation/Support

2014-05-29 Thread Andrew Gaul
in some persistent store, and vend signed URLs to clients when they request and have permission to read/write an given object. jclouds does not offer any support for LDAP/AD and the greater Java ecosystem generally has poor support for this. -- Andrew Gaul http://gaul.org/

Re: Maginatics Cloud Storage Platform

2014-06-02 Thread Andrew Gaul
developing a commercial product which includes jclouds code. Their developers actively participate in jclouds development and contribute code. Please contact Maginatics at http://maginatics.com/ for information on their offering. -- Andrew Gaul http://gaul.org/

Re: [DISCUSS] Java 6 support

2014-06-02 Thread Andrew Gaul
of any policy should proceed on dev@ when we have enough data points. -- Andrew Gaul http://gaul.org/

Re: Error on using JClouds SshClient

2014-06-15 Thread Andrew Gaul
this Regards Nipun Udara -- Andrew Gaul http://gaul.org/

Re: [DISCUSS] Java 6 support

2014-06-30 Thread Andrew Gaul
, 11:57 AM, Andrew Gaul g...@apache.orgmailto:g...@apache.org wrote: jclouds presently supports Java 6, 7, and 8 which imposes extra development costs and prevents uptake of new language and library features including try-with-resources, NIO.2, and HTTP client improvements. Oracle ceased

Re: jCloud and HTTPS

2014-07-08 Thread Andrew Gaul
. -- Andrew Gaul http://gaul.org/

Re: Is it possible to abort putBlob operation?

2014-07-08 Thread Andrew Gaul
. jclouds should provide real support for aborting putBlob. Can you open a JIRA issue to track this? It intersects with some of our AsyncBlobStore discussion. -- Andrew Gaul http://gaul.org/

Re: [DISCUSS] Java 6 support

2014-07-15 Thread Andrew Gaul
On Wed, May 28, 2014 at 11:57:18AM -0700, Andrew Gaul wrote: jclouds presently supports Java 6, 7, and 8 which imposes extra development costs and prevents uptake of new language and library features including try-with-resources, NIO.2, and HTTP client improvements. Oracle ceased public

Re: How to write a Blob using an OutputStream?

2014-08-04 Thread Andrew Gaul
/PipedOutputStream if you really must use an OutputStream? -- Andrew Gaul http://gaul.org/

Re: How to write a Blob using an OutputStream?

2014-08-04 Thread Andrew Gaul
* Senior Software Engineer *Opower * http://www.opower.com/ *We’re hiring! See jobs here http://www.opower.com/careers * On Mon, Aug 4, 2014 at 7:53 PM, Andrew Gaul g...@apache.org wrote: On Mon, Aug 04, 2014 at 04:39:15PM -0400, Steve Kingsland wrote: I'm trying to use

Re: How to write a Blob using an OutputStream?

2014-08-04 Thread Andrew Gaul
like magic? Is it OK that I'm not setting the content length? Some blobstores, specifically Amazon S3, require a content length, while others such as OpenStack Swift do not. -- Andrew Gaul http://gaul.org/

Re: How to configure Jclouds S3 API to put the container name *after* the hostname?

2014-08-11 Thread Andrew Gaul
If you use 1.7.0 or newer, can you share the failing operations with wire logs? Also make sure you use the generic s3 provider and not the aws-s3 specific provider. -- Andrew Gaul http://gaul.org/

Re: How does jclouds storage my files?

2014-08-11 Thread Andrew Gaul
? The jclouds filesystem provider does not provide any indexing; the underlying operating system provides this. -- Andrew Gaul http://gaul.org/

S3Proxy 1.0.0 release

2014-08-12 Thread Andrew Gaul
backend or run create local S3 blobstore using the filesystem backend. I appreciate any feedback: https://github.com/andrewgaul/s3proxy -- Andrew Gaul http://gaul.org/

Re: S3Proxy 1.0.0 release

2014-08-13 Thread Andrew Gaul
will upgrade to jclouds 2.0 as soon as we release it. Thanks for the feedback! -- Andrew Gaul http://gaul.org/

Re: Error: No space left on device

2014-08-27 Thread Andrew Gaul
on device It does not say *which* device is out of space. Could you check on your target system to find out which device has no space left [1]? ap [1] https://kb.iu.edu/d/agfe -- Andrew Gaul http://gaul.org/

Re: Guava versions

2014-09-03 Thread Andrew Gaul
On Wed, Sep 03, 2014 at 12:54:56PM -0700, Andrew Gaul wrote: We should also avoid use of @Beta annotated interfaces although we currently lack a way to enforce this. I experimented with Overstock's library-detectors[1] and jclouds has thousands of uses of Guava @Beta interfaces, most

Re: Guava versions

2014-09-04 Thread Andrew Gaul
/jira/browse/JCLOUDS-427 -- Andrew Gaul http://gaul.org/

Re: Example of setting Blob ACL using S3 provider?

2014-09-24 Thread Andrew Gaul
://javadocs.jclouds.cloudbees.net/org/jclouds/s3/ options/PutObjectOptions.html -- Andrew Gaul http://gaul.org/

Re: Maximum number of Retries JCloud do to AWS

2014-10-23 Thread Andrew Gaul
confirm. Thanks and Regards Manisha -- ~Regards *Manisha Eleperuma* Software Engineer, Cloud TG WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ http://manisha-eleperuma.blogspot.com/* -- Andrew Gaul http://gaul.org/

Re: Question about JCLOUDS-658 Jira issue

2014-11-12 Thread Andrew Gaul
to consider using a second directory for metadata instead. Finally you might want to look at Jimfs which creates an in-memory filesystem provider; perhaps you could create an on-disk provider which stores extended attributes in some other way? -- Andrew Gaul http://gaul.org/

Re: too may files open

2014-11-18 Thread Andrew Gaul
) Try closing the results of bloblgetPayload().getInput() (lines 428 and 431). You can do this via Java 7 try-with-resources or with ByteStreams2.toByteArrayAndClose. These InputStream are actually FileInputStream and likely the cause of your leaks. -- Andrew Gaul http://gaul.org/

Re: java.net.SocketTimeoutException correlated with old generation GC

2014-12-04 Thread Andrew Gaul
not sure how to prove the threads are created by jclouds, and I'm not sure if they are/will cause a problem or not. -- Daniel Hsueh -- mailto:daniel.hs...@seagate.com daniel.hs...@seagate.com tel:+1-905-287-2167 -- Andrew Gaul http://gaul.org/

Re: Thread being killed

2014-12-05 Thread Andrew Gaul
-- Andrew Gaul http://gaul.org/

Re: Fwd: Re: Download file from Swift

2014-12-23 Thread Andrew Gaul
but nothing was downloaded. Thank you. Regards, SB -- Andrew Gaul http://gaul.org/

feedback on additions to portable abstractions?

2015-03-31 Thread Andrew Gaul
in examples where you must drop down to the existing provider-specific interface although I suspect some people also use the vendor SDKs as well. -- Andrew Gaul http://gaul.org/

SwiftProxy (was: S3Proxy 1.0.0 release)

2015-05-11 Thread Andrew Gaul
And now the equivalent for Swift: https://github.com/bouncestorage/swiftproxy On Tue, Aug 12, 2014 at 12:02:01AM -0700, Andrew Gaul wrote: Over the last few weeks I have hacked up S3Proxy, which provides an S3 interface on top of the jclouds BlobStore portable abstraction. This enables new

OpenStack Summit Vancouver

2015-05-18 Thread Andrew Gaul
Anyone interested in jclouds attending OpenStack Summit in Vancouver this week? Let's meet either for lunch or after hours! -- Andrew Gaul http://gaul.org/

Re: Bulk deletes in jclouds 1.8.0 for Swift?

2015-06-29 Thread Andrew Gaul
with jclouds 1.8.0? By bulk delete I mean, one HTTP request to delete a collection of object names. Thanks, Forrest T. -- Andrew Gaul http://gaul.org/

Re: Jclouds support for google cloud

2015-08-10 Thread Andrew Gaul
, Subhadip --- -- Andrew Gaul http://gaul.org/

Re: Java 7 and 8 features

2015-10-27 Thread Andrew Gaul
; I analized some releases and i noticed that not using java 7 features like > multi catch and in java 8 do not use lambda expressions and others > features, so i came by this email to know why the developers not using this > features? -- Andrew Gaul http://gaul.org/

Re: JCloud - Openstack supported versions

2015-10-28 Thread Andrew Gaul
point me to a page which has this information. > > > Thanks > Trupti -- Andrew Gaul http://gaul.org/

Re: JCloud - Openstack supported versions

2015-10-28 Thread Andrew Gaul
compatibility or u meant JCloud instead? > > > On 28-Oct-2015, at 11:37 am, Andrew Gaul <g...@apache.org> wrote: > > > > OpenStack Swift maintains backwards compatibility with previous releases > > so the existing code should work with newer Swift ve

Re: Request Signature, Content Dispositioning, and RequestAuthorizeSignature

2015-10-15 Thread Andrew Gaul
request signature so that when a > non-java client retrieves the resource, it will download with the provided > file name? > > V/r, > > Jeremy -- Andrew Gaul http://gaul.org/

Re: aws-s3 etag when using multipart

2015-09-29 Thread Andrew Gaul
rred chunk plus > the chunk number? >   > Maybe someone can shed some light on this :). >   > Thanks > Veit >   -- Andrew Gaul http://gaul.org/

Re: Logging current jclouds API version

2015-12-16 Thread Andrew Gaul
using within the API? > > I can assuming running a script to access the dependencies' version but my > goal is to print out the jclouds version number as a header when I start a > debug trace. > > Any thoughts? > > Thanks, > Forrest T. -- Andrew Gaul http://gaul.org/

Re: Does there exist an OpenStack API implementation backed by JClouds?

2015-11-20 Thread Andrew Gaul
together here? > > > > As Andrew G's answer hinted, I could imagine using jclouds in a proxy-like > > setup, but since jclouds itself expects to call an OpenStack API, I can't > > immediately see how it would be used to create a "standalone" OpenStack > > implementation. > > > > Regards > > > > ap > > -- Andrew Gaul http://gaul.org/

Re: Does there exist an OpenStack API implementation backed by JClouds?

2015-11-19 Thread Andrew Gaul
: > Hi there, > > Has anyone produced an OpenStack API which calls JClouds in its > implementation? > > I mean the program should provide the OpenStack API over REST and call > JClouds inside its implementation. > > Thanks, Philip -- Andrew Gaul http://gaul.org/

Re: BlobStore#clearContainer never returns after closing BlobStoreContext

2016-06-10 Thread Andrew Gaul
erAfterCloseNeverEnds() throws Exception { > +BlobStore blobStore = view.getBlobStore(); > +blobStore.createContainerInLocation(null, "test"); > +blobStore.putBlob("test", > blobStore.blobBuilder("dummy").payload("test".getBytes()).build()); > +view.close(); > +blobStore.clearContainer("test"); > + } > } -- Andrew Gaul http://gaul.org/

Re: BlobStore#clearContainer never returns after closing BlobStoreContext

2016-06-13 Thread Andrew Gaul
sonally prefer to get something like a > ContextClosedException instead of a method call that never returns. > > Regards, > Bram > > > On Fri, Jun 10, 2016 at 6:34 PM Andrew Gaul <g...@apache.org> wrote: > > > Bram, you cannot use the BlobStoreContext

Re: requested location eu-central-1, which is not in the configured locations

2016-03-20 Thread Andrew Gaul
signature for the blobstore APIs > > will be much appreciated. * > > > > *NB: With the last commit mentioned in the above reply, we do not see the > > region not supported exception anymore. * > > > > *Thanks!* > > > > *Regards* > > >

Re: requested location eu-central-1, which is not in the configured locations

2016-03-07 Thread Andrew Gaul
               .contentDisposition(objectname).build(); > >                 // Upload the Blob >                 String eTag = blobStore.putBlob(containername, blob); >                 System.out.println(eTag);}} > Error  : requested location eu-central-1, which is not in the configured > locations > Solution to rectify the issue required > > RegardsArchana -- Andrew Gaul http://gaul.org/

Re: jClouds 2.0 MultiPart Upload

2017-02-03 Thread Andrew Gaul
ved by using executorservice. > The question here is, does multipartUpload i.e uploading of each part is > happening in parallel ? > Does sequential upload of part deprecated ? > RegardsArchana > > > > On Saturday, 4 February 2017, 1:30, Andrew Gaul <g...@apache.org&

Re: S3 bucket policies

2017-01-26 Thread Andrew Gaul
ket policies. > > Does jClouds blob store support bucket policies? I couldn't find any > mentions in the docs and my source code exploration didn't find > anything that fits the description. If this exists an example would > be most welcome. > > Best regards, cen > > -- Andrew Gaul http://gaul.org/

Re: how to test swift api in transient mode

2017-01-18 Thread Andrew Gaul
errors: > > 1) No implementation for org.jclouds.openstack.swift.v1.SwiftApi was bound. > while locating org.jclouds.openstack.swift.v1.SwiftApi > > > The same piece of code works perfectly when run with a live swift > instance and "openstack-swift" as provider. > Best, > Aleksandra &g

Re: Issue when trying to download from Swift3 middleware...

2017-01-19 Thread Andrew Gaul
e[1024]; > > int length = -1; > > while ((length = in.read(bytes, 0, 1024)) != -1) { > > fout.write(bytes, 0, length); > > } > > fout.flush(); > > fout.close(); > > in.close(); > > System.out.println("Download complete..."); > > > -- Andrew Gaul http://gaul.org/

Re: Directory Name - 2.0.0-SNAPSHOT

2016-10-26 Thread Andrew Gaul
ir/blob-3 > > * Azureblob > - blob-1 > - blob-2 > - dir > - dir/blob-3 > > On a separate note, there is a discrepancy between aws and azure directories > since we have ‘/‘ in the returned results of the former. This was not the > case in 1.9

Re: Accessing blob-store by private-key only

2016-10-26 Thread Andrew Gaul
day, 26 October 2016, 10:18, Andrew Gaul <g...@apache.org> wrote: > > > Can you provide more details on your use case, e.g., which provider? > All providers use an identity and credential.  Long ago someone asked > about HTTP basic access authentication which we do not support

Re: Accessing blob-store by private-key only

2016-10-25 Thread Andrew Gaul
Hi > >     Is there any way to authenticate blob store using private key alone, > instead of passing credentials(identity, key) ?    Does jclouds support that > kind of authentication ? > > RegardsArchana -- Andrew Gaul http://gaul.org/

Re: Directory Name - 2.0.0-SNAPSHOT

2016-10-25 Thread Andrew Gaul
.list returns: > > * blob1 > * blob2 > * dir/blob3 > > Thank you, > Ashkan -- Andrew Gaul http://gaul.org/

Re: HTTP Headers

2016-11-10 Thread Andrew Gaul
> > .addHeader(HttpHeaders.CONTENT_LENGTH, > > > String.valueOf(input.size())) > > > .addHeader(HttpHeaders.USER_AGENT, “custom agent") > > > .payload(input) > > > .build(); > > > HttpClient httpClient = blobStore.getContext().utils().http()); > > httpClient.invoke(request); > > > > > > Thank you, > Ashkan -- Andrew Gaul http://gaul.org/

Re: Content Length with compression with Jclouds PutBlob

2016-10-12 Thread Andrew Gaul
nce we open a stream we can not be able to change the > content length of blob. > > I want to know is there a way to change the content length of MataData > after compression of all the slices completes. > > Regards, > Dileep -- Andrew Gaul http://gaul.org/

Re: Random get blob failure on S3

2017-03-22 Thread Andrew Gaul
:45.260 D[validate-41 ] > headers:logDebug - << HTTP/1.1 404 Not Found > 2017-03-14@07:47:45.260 D[validate-41 ] > headers:logDebug - << Transfer-Encoding: chunked > 2017-03-14@07:47:45.260 D[validate-41 ] > headers:logDebug - << Server: AmazonS3 > 2017-03-14@07:47:45.261 D[validate-41 ] > headers:logDebug - << x-amz-request-id: 5A08FE7C9A9FDADA > 2017-03-14@07:47:45.261 D[validate-41 ] > headers:logDebug - << x-amz-id-2: > gTbzpFjMIhD/P0QO6AcEAiqKo8WKHAs5olmHz5fegMCbfMnSCbGvnuCcmHmx8qrFF6fkdKRI38o= > 2017-03-14@07:47:45.261 D[validate-41 ] > headers:logDebug - << Date: Tue, 14 Mar 2017 11:47:42 GMT > 2017-03-14@07:47:45.261 D[validate-41 ] > headers:logDebug - << Content-Type: application/xml > 2017-03-14@07:47:45.261 D[validate-41 > ]wire:logDebug - << " encoding="UTF-8"?>[\n]" > > *2017-03-14@07:47:45.261 D[validate-41 > ]wire:logDebug - << > "NoSuchKeyThe specified key does not > exist.IOPS-45A08FE7C9A9FDADAgTbzpFjMIhD/P0QO6AcEAiqKo8WKHAs5olmHz5fegMCbfMnSCbGvnuCcmHmx8qrFF6fkdKRI38o="* > Thanks, > Arunagiri -- Andrew Gaul http://gaul.org/

Re: Fwd: Jclouds with HDFS file system

2017-03-24 Thread Andrew Gaul
ne example Java code to upload/download file from HDFS file > system using Jclouds. > > If you can help me that will be great. > Thanks in advance. -- Andrew Gaul http://gaul.org/

Re: S3 China Beijing

2017-03-17 Thread Andrew Gaul
ort China Beijing region which supports sig V4? > What will be the ISO3166_CODE for Beijing region ? > RegardsArchana -- Andrew Gaul http://gaul.org/

Re: unsubcribe

2017-03-15 Thread Andrew Gaul
that! From a quick look, it appears as though jclouds is > configured to access https://... rather than http://, as in your cURL example? > > Could you post a snippet of the code/command line in which you are > configuring jclouds with the endpoint? > > Regards > > ap -- Andrew Gaul http://gaul.org/

Re: Swift Multipart upload SLO or DLO

2017-04-04 Thread Andrew Gaul
penstack.org/user-guide/cli-swift-large-object-creation.html > RegardsArchana > -- Andrew Gaul http://gaul.org/

Re: Swift Multipart Manifest Upload

2017-04-04 Thread Andrew Gaul
t; 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: jClouds 2.0

2017-04-06 Thread Andrew Gaul
> RegardsArchana > -- Andrew Gaul http://gaul.org/

Re: Swift Multipart upload SLO or DLO

2017-04-05 Thread Andrew Gaul
ompared 1.9.1 jcloluds CommonSwiftClient.java:putObjectManifest with > jclouds 2.0 StaticLargeObject.java:replaceManifest, I figured out that > "X-Object-Manifest" is used as required in jclouds 1.9.1 and that has been > omitted in 2.0  > Please share sample test case th

Re: Openstack-Swift

2017-04-14 Thread Andrew Gaul
/tokens HTTP/1.1 failed with > response: HTTP/1.1 400 Bad Request; content: > [{"badRequest":{"code":400,"message":"Invalid json request body"}}] > > In which they explain 400 as “Missing required parameters. This error also > occurs if you

Re: jClouds 2.0

2017-04-08 Thread Andrew Gaul
gt; RegardsArchana > > On Friday, 7 April 2017, 1:00, Andrew Gaul <g...@apache.org> wrote: > > > jclouds is a community project so DLO support will be added when someone > contributes it, likely you.  I would look at how other libraries bridge > this gap and submit a pull

Re: remove EMC Atmos provider?

2017-07-08 Thread Andrew Gaul
:38AM +0200, Ignasi Barrera wrote: > Given the silence in this thread, I'd say go ahead and remove it. > > On 3 July 2017 at 23:47, Andrew Gaul <g...@apache.org> wrote: > > Does anyone use the EMC Atmos provider? As I understand it, EMC has not > > developed this in so

Re: SigV4 for S3 comptabile Object Store

2017-07-20 Thread Andrew Gaul
contributions! On Fri, Jul 21, 2017 at 04:00:20AM +, Archana C wrote: > Hi, >     jClouds version till 2.0.1 supports signature V2 for S3 compatible object > storage. Is there a plan to support signature V4 for S3 compatible object > storage ? > RegardsArchana -- Andrew Gaul http://gaul.org/

remove EMC Atmos provider?

2017-07-03 Thread Andrew Gaul
-part upload and server-side filtering. The recent disappearance of Atmos Online leaves me unable to test the provider for the jclouds 2.0.2 release. I would like to remove the Atmos provider if no one is using it. -- Andrew Gaul http://gaul.org/

remove Clojure support?

2017-07-03 Thread Andrew Gaul
These bindings add to jclouds maintenance and make evolving core APIs harder. Further they really belong outside of the jclouds repository. I would like to remove these in 2.1.0 unless someone makes a compelling case. -- Andrew Gaul http://gaul.org/

Re: Update default part size other than 32MB

2017-04-26 Thread Andrew Gaul
lier for 1.9* version this was not > issue as MultipartUploadSlicingAlgorithm.java was not made final class. > > Thanks, > Rishika -- Andrew Gaul http://gaul.org/

Re: Promoting B2 and GCS

2017-05-09 Thread Andrew Gaul
in your applications. On Tue, Mar 21, 2017 at 08:00:00PM -0400, Andrew Gaul wrote: > Honestly, we could promote GCS to core today -- let's skip the > intermediate step. The URL signers are not much work which I could > implement some time next week. The InputStream hack uses multipart

Re: unsubscribe

2017-05-17 Thread Andrew Gaul
rprise.middleware > > m: +94773325954 > e: lahi...@wso2.com b: http://lahiruwrites.blogspot.com/ > in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Andrew Gaul http://gaul.org/

Re: bulk-delete objects

2017-05-17 Thread Andrew Gaul
le get removed, the segments > remains. > Is there something missing ? > RegardsArchana -- Andrew Gaul http://gaul.org/

Re: bulk-delete objects

2017-05-17 Thread Andrew Gaul
I filed https://bugs.launchpad.net/swift/+bug/1691523 to track this. On Wed, May 17, 2017 at 10:53:56AM -0700, Andrew Gaul wrote: > This is likely a limitation of the Swift API. > > On Wed, May 17, 2017 at 12:10:47PM +, Archana C wrote: > > Hi  > > I am trying t

Re: bulk-delete objects

2017-05-18 Thread Andrew Gaul
ed way for bulk-delete DLO uploads. > RegardsArchana > > On Wednesday, 17 May 2017, 23:24, Andrew Gaul <g...@apache.org> wrote: > > > This is likely a limitation of the Swift API. > > On Wed, May 17, 2017 at 12:10:47PM +, Archana C wrote: > > H

Re: directoryExists vs blobExists

2017-09-18 Thread Andrew Gaul
YPE=work,voice:0147088131 > EMAIL;TYPE=internet:ionel.gard...@tech-advantage.com > URL;TYPE=work:http://www.techad.fr > ORG:TECH advantage > TITLE:CIO > REV:2016-12-16T11:52:22Z > UID:5a4525af-5d0c-4a32-a77b-c565580b116e:114277 > END:VCARD -- Andrew Gaul http://gaul.org/

Re: directoryExists vs blobExists

2017-09-19 Thread Andrew Gaul
lder/") ? > > Regards, > -- > Ionel GARDAIS > Tech'Advantage CIO - IT Team manager > > - Mail original - > De: "Andrew Gaul" <g...@apache.org> > À: "user" <user@jclouds.apache.org> > Envoyé: Lundi 18 Septembre

Re: BlobStore list() and PageSet

2017-12-03 Thread Andrew Gaul
TYPE=work,voice:0147088131 > EMAIL;TYPE=internet:ionel.gard...@tech-advantage.com > URL;TYPE=work:http://www.techad.fr > ORG:TECH advantage > TITLE:CIO > REV:2017-09-28T12:56:01Z > UID:5a4525af-5d0c-4a32-a77b-c565580b116e:114277 > END:VCARD -- Andrew Gaul http://gaul.org/

Re: jclouds BlobStore - hierarchy within given (Provider, Location, Container) tuple

2018-02-22 Thread Andrew Gaul
to get a provider's suggested > delimiters for "directory emulation" (like the forward slash in the above > example) and "file extension emulation" (like the period in the above > example)? -- Andrew Gaul http://gaul.org/

Re: putBlob failing, but acting like success

2018-08-17 Thread Andrew Gaul
On Fri, Aug 17, 2018 at 10:04:29PM -, john.calc...@gmail.com wrote: > I'm calling putBlob to put a blob to an S3 ninja server. The server is > returning a ridiculous 500 server error response page - it contains a ton of > javascript and the jclouds SAX parser is choking on the content of a

Re: Need to reset an http header in Jcloud.

2018-03-01 Thread Andrew Gaul
gt; So I would like to know, If there is a way to remove this HttpHeader in > > Jcloud? Please provide some sample, if it has.. > > > > > > > > Regards > > > > Pratheesh > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- Andrew Gaul http://gaul.org/

Re: putBlob with an already existing object

2018-04-04 Thread Andrew Gaul
Most of the magic lies in RestAnnotationProcessor if you want to see how it works. -- Andrew Gaul http://gaul.org/

Re: deleteObject with missing object

2018-04-04 Thread Andrew Gaul
an exception for a missing > object and, not knowing what it's for, just retry the operation. All blobstores allow deletes of non-existent keys. -- Andrew Gaul http://gaul.org/

Re: putBlob with an already existing object

2018-04-05 Thread Andrew Gaul
lobstores like Ceph can address this issue with conditional PUT but this is not supported elsewhere. -- Andrew Gaul http://gaul.org/

Re: putBlob fails to send proper content when using payload(InputStream)

2018-04-13 Thread Andrew Gaul
-host as documented here: https://github.com/gaul/s3proxy/blob/master/src/main/java/org/gaul/s3proxy/S3ProxyConstants.java#L50 If this does not help, could you follow up with a GitHub issue at https://github.com/gaul/s3proxy since this does not relate to the jclouds backend? -- Andrew Gaul http://gaul.org/

Re: putBlob fails to send proper content when using payload(InputStream)

2018-04-13 Thread Andrew Gaul
s backend. [1] https://github.com/gaul/s3proxy -- Andrew Gaul http://gaul.org/

Requiring Java 8 and Guava 21+

2018-03-24 Thread Andrew Gaul
to require Guava 21 which in turn requires Java 8. Unfortunately I do not see another way forward and this is an issue of when not if. Any comments on this proposed change? -- Andrew Gaul http://gaul.org/

Re: Does jClouds support AZURE file storage (not the BLOB one)

2018-03-28 Thread Andrew Gaul
jclouds does not support Azure file storage today. We would happily accept pull requests to add this! This is simpler than Azure blob which has its own protocol; Azure file uses SMB2 so we only need a provisioning API and some code to hook up to Azure compute. -- Andrew Gaul http://gaul.org/

Re: Signature v4 support for non amazon S3

2018-10-16 Thread Andrew Gaul
gt; >>> On 21 June 2018 at 11:58, Ranjith R wrote: > >>> > >>>> I was looking at https://issues.apache.org/jira/browse/JCLOUDS-480 and > >>>> it talks about the default signing for AWS being v4 and other s3 clones > >>>> being v2. I just want to know if I can use v4 for a s3 clone? Is there > >>>> any example that I can look at? > >>>> > >>>> Thanks, > >>>> Ranjith > >>>> > >>>> On Mon, Jun 18, 2018 at 7:21 PM Ranjith R wrote: > >>>> > >>>>> Hi All - I know signature v4 signing is implemented for Amazon S3 > >>>>> (aws-s3). Just wanted to know if I can use v4 signing for a non amazon > >>>>> cloud which supports S3 API and sigV4 (s3). If it does, what changes > >>>>> should be done from the client side? > >>>>> > >>>>> Thanks, > >>>>> Ranjith > >>>>> > >>>> > >>> > > -- Andrew Gaul http://gaul.org/

Re: hgst hcp server returning 500 internal server error

2018-10-16 Thread Andrew Gaul
hese 500 errors are caused either by > disk-full or container-quota-full conditions. Sorry for the late reply, but I have also heard users complain about 500 errors when overwriting existing blobs. Apparently it can be configured in a write-once manner. Unfortunately I don't have any direct experience with HGST. -- Andrew Gaul http://gaul.org/

Re: BlobStore.clearContainer()

2018-10-17 Thread Andrew Gaul
lieve the existing implementation can be substantially simplified. -- Andrew Gaul http://gaul.org/

Re: NullPointer in BlobStore#streamBlob using RegionScopedSwiftBlobStore (2.1.1)

2018-10-16 Thread Andrew Gaul
"container","id"); > > doing the nullcheck myself and then getting the inputstream from the blob's > payload. Sorry for the late reply but I find the implementation of BlobStore.streamBlob confusing since it lives in the portable abstraction yet only has one implementation. I recommend using getBlob which actually does stream the payload. -- Andrew Gaul http://gaul.org/