object not stored

Giancarlo Frison gfrison at chelab.com
Wed Aug 31 09:29:19 EDT 2011


Hi all,

Sometimes happen that storing object with PB client doesn't work, the
snippet is:

IRiakObject ob =
RiakObjectBuilder.newBuilder(bucket,key).withContentType("application/json").withValue(json).build();
return rc.store(ob, new StoreMeta(1, 1, true)).getVclock().getBytes();

below it is the snoop of storing action. As you can see the riak server is
invoked by the client and return the object:

T 127.0.0.1:52015 -> 127.0.0.1:8087 [AP]
.....
.user..gfrison"..
G{"name":"Giancarlo","id":"gfrison","password":"pwd","surname":"frison"}..application/json;charset=utf-82"
.eclass-general_domain..User..iof(.0.8.
##
T 127.0.0.1:8087 -> 127.0.0.1:52015 [AP]
.....
..
G{"name":"Giancarlo","id":"gfrison","password":"pwd","surname":"frison"}..application/json;charset=utf-8*.4fXUimzXj3g0ukJHcpuxm32"
.eclass-general_domain..User..iof8.....@
..).*k.a```.`..R,..E..L..y....W..A....L.
?..g..


but when I try to get such object, I got not found:

gfrison at ttw:~$ curl http://localhost:8098/riak/user/gfrison
not found

Have you any hint on it?

thanks!



Giancarlo Frison
@gfrison
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110831/50936c08/attachment.html>


More information about the riak-users mailing list