JetS3t and Google Storage

165 views
Skip to first unread message

James Murty

unread,
Jun 2, 2010, 2:30:07 AM6/2/10
to JetS3t Users
I recently received my invitation to the new Google Storage (GS)
service: https://code.google.com/apis/storage/docs/overview.html

According to Google's documentation this service is intended to be
compatible with existing libraries and tools that use Amazon's S3 API.

From my initial testing JetS3t does indeed seem work with GS, though
obviously not all the S3 features are supported and I'm seeing some
warnings from HttpClient that I will need to investigate further.


If you have applied for and received your GS credentials (lucky!) you
can configure JetS3t to talk to GS by using these credentials instead
of your AWS ones and setting the service endpoint in the
jets3t.properties configuration file like so:

s3service.s3-endpoint=commondatastorage.googleapis.com

Note that if you are using the latest code from the dev site you may
also need to disable the recently-added Storage Class support since GS
does not associated HTTP headers. If you're on the bleeding edge, make
sure you have the very latest code which includes a kill-switch for
the storage classes feature and set the following in jets3t.properties
to work around this issue:

s3service.enable-storage-classes=false


If you are able to bang on GS using JetS3t let us know how it goes so
we can work out any kinks.

James

Bruno Hautzenberger

unread,
Jun 21, 2010, 5:28:54 AM6/21/10
to JetS3t Users
Hi I am using Jets3t to Access Google Storage from Android and so far
it works great!

The only thing that was a bit tricky was to get the Sax Driver to
work, but that is a problem with Android that I fixed like this:
System.setProperty("org.xml.sax.driver","org.xmlpull.v1.sax2.Driver");

JetS3t itself seems to work without any problems so far.

James Murty

unread,
Jul 5, 2010, 6:59:26 PM7/5/10
to JetS3t Users
Thanks for noting this work around Bruno. I have just added your trick
to JetS3t so in future it should work on Android automatically:
http://bitbucket.org/jmurty/jets3t/issue/35/detect-and-use-sax-parser-on-android


On Jun 21, 2:28 am, Bruno Hautzenberger <bhautzenber...@gmail.com>
wrote:

Bruno Hautzenberger

unread,
Jul 6, 2010, 2:49:01 PM7/6/10
to JetS3t Users
Thank you! That's great!

On 6 Jul., 00:59, James Murty <jamu...@gmail.com> wrote:
> Thanks for noting this work around Bruno. I have just added your trick
> to JetS3t so in future it should work on Android automatically:http://bitbucket.org/jmurty/jets3t/issue/35/detect-and-use-sax-parser...
Reply all
Reply to author
Forward
0 new messages