fetch from java client

Andrea Campolonghi acampolonghi at gmail.com
Mon Nov 1 13:31:37 EDT 2010


I store object into riak like this:

String json = func.serializeJSON(data,false);
RiakObject ro = new RiakObject(this.bucket, doc.getKey(),json);
this.rc.store(ro);

While I can see the object into riak bucket from my sheel using curl if I
try to fetch the key like:

RiakObject[] ros = this.rc.fetch(this.bucket, key.toLowerCase());

I get an IOException.
Am I making something wrong ??

Thanks

Andrea


p.s.

Client is
*riak-java-pb-client <http://github.com/krestenkrab/riak-java-pb-client>*
-- 
Andrea Campolonghi

Cell : +39 347 2298435
andrea at andreacfm.com
http://www.andreacfm.com

Railo Team
andrea at getrailo.org
http://getrailo.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101101/34e5bd4c/attachment.html>


More information about the riak-users mailing list