Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B858FDB21 for ; Fri, 10 Aug 2012 23:46:44 +0000 (UTC) Received: (qmail 55306 invoked by uid 500); 10 Aug 2012 23:46:44 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 55228 invoked by uid 500); 10 Aug 2012 23:46:44 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 55170 invoked by uid 99); 10 Aug 2012 23:46:44 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2012 23:46:44 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 37A1A1C0967; Fri, 10 Aug 2012 23:46:43 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4978394526169004000==" MIME-Version: 1.0 Subject: Re: Review Request: Add initial support for Caringo's CAStor object storage as the S3 backend. From: "Jamshid Afshar" To: "cloudstack" , "Ewan Mellor" , "Eric Dey" , "Jamshid Afshar" Date: Fri, 10 Aug 2012 23:46:43 -0000 Message-ID: <20120810234643.5424.46277@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Jamshid Afshar" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/6473/ X-Sender: "Jamshid Afshar" References: <20120810225223.5424.50943@reviews.apache.org> In-Reply-To: <20120810225223.5424.50943@reviews.apache.org> Reply-To: "Jamshid Afshar" --===============4978394526169004000== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable > On Aug. 10, 2012, 10:52 p.m., Ewan Mellor wrote: > > Jamshid, what is the license on CAStorSDK.jar and jmdns-2.1.jar? I pre= sume CAStorSDK is one that you own -- what about the other one? The licens= e on dependent libraries affects whether we can build the code as part of t= he default build or not. If it is an open-source license that is compatibl= e with the Apache license then things are very easy, but otherwise things g= et more complicated. > > = > > As general guidance: > > = > > The easiest thing to do is to license your code under the Apache licens= e, or a compatible one such as BSD. This will mean that we can have the de= fault CloudStack build include support for your object store, which is obvi= ously a big win. > > = > > The Apache Foundation won't allow code that requires proprietary librar= ies in the default configuration, so if you can't do this, then the feature= would have to be off by default. This isn't the end of the world, but it = means that users would have to recompile CloudStack from source to enable y= our software. This would be the case if that jar is only available to CASt= or customers or otherwise not freely distributable. We're going to have to= turn off NetApp support in the default build for this reason, to give you = an example. > > = > > = > > I don't know if you know this, but we're trying to get a CloudStack 4.0= release together in the next month. The deadline for feature freeze is to= day, with the deadline for sorting out all licensing issues being next week= . For your patch to get in, we'd have to get these license issues resolved= very soon, and make an exception to the feature freeze. If there is going= to be any delay figuring out the licensing on these jars, would it be a pr= oblem if this patch didn't get into CloudStack 4.0? If that's OK, it would= go immediately on the list for 4.1 instead. That would give you time to s= ort out what you want to do here. > > = > > Please let me know what you're planning to do at this point, so that we= can finalize the upcoming release. > > > = > Eric Dey wrote: > Ewan, I'll answer for Jam in his absence. The JmDNS package is an Apa= che 2.0 license while the Caringo CAStorSDK package is a BSD license. > = > Ewan Mellor wrote: > OK, that's great, thanks. Please give download URLs for those. We w= ant our build system to be able to download them from the official upstream= servers, and we want to document where to get them if users need to upgrad= e. Thanks. > Sure, Ewan, we really want this feature in the CloudStack 4.0 release. Here is the jmdns library's license: http://jmdns.sourceforge.net/license.h= tml I'll attach the license for our SDK jar and find out about a download url. Btw Edison, the 2 binary files are in the attached patch file, not sure why= the ui doen't let you download them individually. - Jamshid ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6473/#review10157 ----------------------------------------------------------- On Aug. 9, 2012, 2:24 a.m., Jamshid Afshar wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/6473/ > ----------------------------------------------------------- > = > (Updated Aug. 9, 2012, 2:24 a.m.) > = > = > Review request for cloudstack. > = > = > Description > ------- > = > Below is the commit message. This is my first patch, let me know if I did= anything wrong or if e.g. using "storage.root" is not how configuring a ne= w storage backend should be done. > = > Add initial support for Caringo's CAStor object storage as the S3 backend. > = > Similar to the s3-hdfs example. Now storage.root can specify "castor" > followed by a list of IP addresses for the nodes in the CAStor > cluster. S3 operations will then create and read buckets and objects > in CAStor instead of a file system. > = > = > Diffs > ----- > = > awsapi/src/com/cloud/bridge/io/S3CAStorBucketAdapter.java PRE-CREATION = > awsapi/src/com/cloud/bridge/model/SHost.java 874b095 = > awsapi/src/com/cloud/bridge/service/controller/s3/ServiceProvider.java = 7a36a4b = > awsapi/src/com/cloud/bridge/service/core/s3/S3Engine.java e8b73a4 = > deps/awsapi-lib/CAStorSDK.jar PRE-CREATION = > deps/awsapi-lib/jmdns-2.1.jar PRE-CREATION = > = > Diff: https://reviews.apache.org/r/6473/diff/ > = > = > Testing > ------- > = > Tested a boto script I believe we got from Chiradeep (localhost_test.py) = that creates buckets and streams, does a range read and delete. I will cont= inue to do more testing (http://wiki.cloudstack.org/display/QA/How+to+run+S= 3+Tests+against+CloudStack+S3+Implementation). > = > = > Thanks, > = > Jamshid Afshar > = > --===============4978394526169004000==--