There are a few places in the git repo which claim to be related to S3:  

$ git branch -a | grep -i s3
remotes/origin/S3_DAO
remotes/origin/s3-hdfs
remotes/origin/s3-merged
remotes/origin/s3_spring
remotes/origin/s3tests


But it's unclear if these are related to the external, customer-facing S3 API 
or a ability to use S3 for secondary storage.  I'm curious, has any work on the 
second case (ability to store secondary objects into an S3-compatible service)?

More below… inline...  

On Friday, August 24, 2012 at 6:10 PM, Chiradeep Vittal wrote:

> On 8/23/12 9:56 AM, "Greg Burd" <g...@basho.com (mailto:g...@basho.com)> 
> wrote:
> > Hello all.  
> >  
> > Apologies if any of the questions I ask are overly obvious, I'm just
> > diving into the Java code and trying to find my way around. My goal is
> > to build layer which allows objects destined for secondary storage to
> > reside in an S3-compatible service - specifically, Riak Cloud Storage
> > (which we call "Riak CS"). Later on I'd like to plumb in a way to allow
> > Riak CS to provide the S3 service itself to users of CloudStack
> > deployments.
> >  
> > So it seems that to do this I'll need to implement a
> > `cloud.bridge.io.s3.S3ServiceBucketAdapter` (or something with a similar
> > name) which implements the `S3BucketAdapter` API, correct? As far as I
> > can tell, that class will essentially just call out using the S3 API to a
> > specified S3 server (in my case, a running Riak CS cluster somewhere).
>  
>  
> If you already have the S3 API coded up, there is the option of just using
> CloudStack credentials. There is ongoing work to expose an "auth service"
> where you can retrieve the secret key
> http://wiki.cloudstack.org/display/RelOps/Regions+Functional+Spec#RegionsFu
> nctionalSpec-AuthenticationService
>  
> > I assume that somewhere in the code there is the Amazon API for
> > accessing S3, correct?
>  
>  
> Right now, there isn't, although, there is work going on currently in this
> area.
> http://wiki.cloudstack.org/pages/viewpage.action?pageId=9601252


Okay, I suppose the right thing is to use the 
(http://aws.amazon.com/sdkforjava/).

> > Then I'm guessing I'll need to also implement or change something related
> > to auth in `cloud.bridge.auth.s3`, correct? We have an authentication
> > system built into Riak CS now, somehow these two will need to merge into
> > one unified auth system.
>  
>  
> I assume that this signature-based auth using the api keys?

Our auth is exactly the same as AWS/S3, so yes.


Reply via email to