Hi Guys,
it looks like we have a conversation problem between both APIs.
First i wrote with riak-erlang-client to the riak:
{ok,Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087),
Tuple = "{\"id\",22}",
Obj = riakc_obj:new("mm","1",Tuple),
riakc_pb_socket:put(Pid,Obj),
After
Hi Sean,
thanks for your help but we found another problem:
after we insert the valid json:
{ok,Pid} = riakc_pb_socket:start_link("10.10.10.74", 8087),
Value = mochijson2:encode({struct, [{id, 22}]}),
In = riakc_obj:new(<<"mm">>,<<"1">>,Value,"application/json"),
Hi,
i had install riak via rpm -i riak-1.0.3-1.el5.x86_64.rpm.
Start riak without any problems. Cool !
When i try to insert something via PUT:
[prd-uk-ras-002 ~]# curl -v -X PUT -d 'data1'
http://10.10.13.4:8098/buckets/persons/keys/bosse
* About to connect() to 10.10.13.4 port 8098
* Try
s:
> Marcel,
>
> What is the output of `riak-admin member_status` and `riak-admin ring_status`?
>
> On Mon, Jan 30, 2012 at 10:02 AM, Marcel Müller
> wrote:
> Hi,
>
> i had install riak via rpm -i riak-1.0.3-1.el5.x86_64.rpm.
> Start riak without any problems. Co
top all nodes, delete the ring
> files (on Linux, /var/lib/riak/ring/*), start them back up, and rejoin them.
>
> On Mon, Jan 30, 2012 at 10:15 AM, Marcel Müller
> wrote:
> hi Sean,
>
> [root@prd-uk-ras-002 ~]# riak-admin member_status
Hi,
our risk node runs since 2 days very until this morning. We have in our
erlang.log.1 the following lines:
/usr/lib64/riak/lib/os_mon-2.2.6/priv/bin/memsup: Erlang has closed.
Erlang has closed
nothing more
Can you explain me what is wrong ?
Thanks
Marcel