On Tue, Dec 6, 2011 at 8:16 AM, Anna Byszkin <[email protected]>wrote:
>
> Java riak-client version 1.0.1.
>
You're using the Java client with the HTTP transport?
>
> Problem:
> -----
> I couldn't find a key stored in Riak. 'Stored' means that the application
> call:
> <mybucket>.store(<key>, object.toString()).execute();
> finished successfully and I found a relevant info in the application log.
> However later I couldn't find this key in Riak.
>
>
How much later? Have you tried doing the write and then a read directly
after? Have you tried a read with curl?
> In the error.log and crash.log files I can see:
> ------
> [error] webmachine error:
> path="/riak/elists/84kZEElqXqNCLZ_ZCQcRHpTbCD5c77AREvB_K3jGcm4"
>
> {error,{error,{badmatch,{error,closed}},[{webmachine_request,recv_unchunked_body,4},{webmachine_request,do_recv_body,2},{webmachine_request,call,2},{wrq,req_body,1},{riak_kv_wm_object,accept_doc_body,2},{webmachine_resource,resource_call,3},{webmachine_resource,do,3},{webmachine_decision_core,resource_call,1}]}}
> ------
>
> Could it be a problem with the cluster configuration or maybe the client
> (strange that I didn't get any exception if the store() method failed)?
> Don't see any errors in syslog. What else could I check?
> Has anyone else seen that (and possibly resolved ;))?
>
I'm sticking with my original response. It seems for whatever reason the
socket has closed on you. You see no other errors in any of the logs? Do
you see anything interesting in console.log?
-Ryan
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com