Skip to contentSkip to conversation

S3 comapatible with java-rados.

DISCUSSION ramu 3 participants 10 messages Aug 20, 2012 – Aug 26, 2012

lore
Share & tools
lore

ramu

author
#0 lore raw

Hi all,

Is there anybody wrote s3 compatible with java-rados.Please help me to
write s3 compatible with java-rados.Means from java ,how to connecting to ceph and create bucket or volume.

Thanks,
Ramu.

author
#1 lore raw

Hi,

I want to install RADOS Gateway Rest interface.Please help me to install rados
gateway for rest interface(S3gw).

Thanks,
Ramu.

#2 lore raw
Quoted 2 lines · ramu

I want to install RADOS Gateway Rest interface.Please help me to install rados
gateway for rest interface(S3gw).

Once you have a working Ceph cluster, follow the instructions at
http://ceph.com/docs/master/radosgw/

If you run into problems, try to ask a more specific question.

#3 lore raw
In reply to ramu
Quoted 5 lines · ramu

Hi all,

Is there anybody wrote s3 compatible with java-rados.Please help me to
write s3 compatible with java-rados.Means from java ,how to connecting to ceph and create bucket or volume.

As a first approximation, I might try Googling "S3 Java", and thus trying something like

http://aws.amazon.com/sdkforjava/

or

http://jets3t.s3.amazonaws.com/downloads.html

The point of the RADOS gateway is to provide the S3 HTTP/REST interface in a compatible way, so Java bindings to S3 should Just Work.

author
#4 lore raw
In reply to ramu

Hi,

When am installing RADOS Gateway through this command"sudo apt-get install radosgw"
it is showing error
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package radosgw

Thanks,
Ramu.

author
#5 lore raw

Am installing RADOS Gateway from

$ ./configure --with-radosgw
$ make install
It was installed.But After I did the steps from the site is 
"http://ceph.com/docs/master/radosgw/config/"
In that enable rados gateway configuration it showing the error is,
root@vu-AP480-S:/etc/apache2/sites-enabled# sudo a2ensite rgw.conf
ERROR: Site rgw.conf does not exist!

Ramu.

author
#6 lore raw

And also create bucket using this command"s3 -u create test"
But it is showing error,

root@vu-AP480-S:/home/vu# export S3_ACCESS_KEY_ID=NUQ18TE2DPLGIQAJN83B
root@vu-AP480-S:/home/vu# export 
S3_SECRET_ACCESS_KEY=hLgKCloH+ZI4rWAnS3JH89zSFd9lMXbA6lwpbqRr
root@vu-AP480-S:/home/vu# export S3_HOSTNAME=rgw.node32
root@vu-AP480-S:/home/vu# s3 -u create alpha
s3: command not found
root@vu-AP480-S:/home/vu# s3 -u list
s3: command not found
#8 lore raw
In reply to ramu
Quoted 9 lines · ramu

Am installing RADOS Gateway from

$ ./configure --with-radosgw
$ make install
It was installed.But After I did the steps from the site is
"http://ceph.com/docs/master/radosgw/config/"
In that enable rados gateway configuration it showing the error is,
root@vu-AP480-S:/etc/apache2/sites-enabled# sudo a2ensite rgw.conf
ERROR: Site rgw.conf does not exist!

You need to create the configuration file, as explained in section
http://ceph.com/docs/master/radosgw/config/#create-rgw-conf of the documentation.

#7 lore raw
In reply to ramu
Quoted 2 lines · ramu

And also create bucket using this command"s3 -u create test"
But it is showing error,

...

Quoted 2 lines
root@vu-AP480-S:/home/vu# s3 -u create alpha
s3: command not found

So you don't have the s3 command installed, then. See
https://github.com/wido/libs3

Please don't share your secret keys on public mailing lists.

author
#9 lore raw
In reply to Tommi Virtanen

Hi all,

I configured rgw.conf also after i configured run the s3 command
"s3 -u create test" am getting this error, ERROR:Connection Failed.

Thanks,
Ramu.