Hi Sunil,
I am not an expert but it seems your shell does not have the path for: $RIAKCLIENT/deps/protobuffs/ebin $RIAKCLIENT/deps/riak_pb/ebin You certainly have $RIAKCLIENT/ebin in you path as your commands in line 4 and 7 worked. Does code:get_path() contains those above? Cheers Zsolt Feladó: riak-users [mailto:[email protected]] Meghatalmazó Babu Sunil Küldve: Saturday, January 31, 2015 12:08 PM Címzett: [email protected] Tárgy: Reg: Riak creatig object Hi, I hope everything is going fine. I have installed erlang and Riak on my machine. I have created 5 nodes in Riak. {ok, Pid} = riakc_pb_socket:start("127.0.0.1", 8087). My Problem 1. 4> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087). {ok,<0.44.0>} 5> MyBucket = <<"test">>. <<"test">> 6> Val1 = 1. 1 7> Obj1 = riakc_obj:new(MyBucket, <<"one">>, Val1). {riakc_obj,<<"test">>,<<"one">>,undefined,[],undefined,1} 8> riakc_pb_socket:put(Pid, Obj1). ** exception error: undefined function riak_pb_kv_codec:encode_content/1 in function riakc_pb_socket:put/4 (src/riakc_pb_socket.erl, line 329) 2. 9> riakc_pb_socket:ping(Pid). ** exception exit: {noproc, {gen_server,call, [<0.44.0>,{req,rpbpingreq,60000},infinity]}} in function gen_server:call/3 (gen_server.erl, line 188) 10> Please help me solving this issue Thanks & Regards, Sunil Babu S --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
