i installed the riak.deb on another computer
and was installing riak-erlang-client :

arthurus:/home/hadoop/riak/riak-erlang-client# make test
./rebar eunit
==> protobuffs (eunit)
Compiled test/protobuffs_eqc.erl
Compiled test/erlang_protobuffs_SUITE.erl
Compiled test/protobuffs_parser_tests.erl
Compiled src/protobuffs.erl
Compiled src/protobuffs_compile.erl
Compiled src/pokemon_pb.erl
Compiled src/protobuffs_parser.erl
Compiled test/protobuffs_tests.erl
Compiled src/protobuffs_scanner.erl

=ERROR REPORT==== 25-Oct-2011::15:08:04 ===
    "Extended field not in valid range"
    message: "Extendable"
    field_id: 205
    field_name: "bar"
    defined_ranges: [{100,200}]
    reserved_range: {19000,19999}
    max: 536870911

=ERROR REPORT==== 25-Oct-2011::15:08:04 ===
    "Extended field not in valid range"
    message: "MaxTendable"
    field_id: 19950
    field_name: "bar"
    defined_ranges: [{100,max}]
    reserved_range: {19000,19999}
    max: 536870911
  All 124 tests passed.
Cover analysis:
/home/hadoop/riak/riak-erlang-client/deps/protobuffs/.eunit/index.html
==> riak-erlang-client (eunit)
Compiled src/riakc_obj.erl
Compiled src/riakc_pb.erl
Compiled src/riakc_pb_socket.erl

=ERROR REPORT==== 25-Oct-2011::15:08:09 ===
** Generic server <0.435.0> terminating
** Last message in was {tcp_closed,#Port<0.4491>}
** When Server state == {state,"127.0.0.1",54892,false,false,undefined,
                               undefined,
                               {[],[]},
                               1,[],infinity,100}
** Reason for termination ==
** disconnected
  All 26 tests passed.
Cover analysis: /home/hadoop/riak/riak-erlang-client/.eunit/index.html

=ERROR REPORT==== 25-Oct-2011::15:08:10 ===
** Generic server inet_gethost_native_sup terminating
** Last message in was {'EXIT',<0.437.0>,killed}
** When Server state == {state,inet_gethost_native,undefined,<0.437.0>,
                               {local,inet_gethost_native_sup}}
** Reason for termination ==
** killed


i tried to use it :


root@arthurus:/home/hadoop/riak/riak-erlang-client# erl -pa
/home/hadoop/riak/riak-erlang-client/ebin/ /usr/lib/riak/
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8]
[async-threads:0] [kernel-poll:false]

Eshell V5.8.4  (abort with ^G)
2> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087).
{ok,<0.39.0>}
3> riakc_pb_socket:ping(Pid).
pong
4> riakc_pb_socket:list_buckets(Pid, 120000).

=ERROR REPORT==== 25-Oct-2011::15:10:26 ===
** Generic server <0.39.0> terminating
** Last message in was {tcp,#Port<0.682>,
                            [16|<<"\n\rcomment-test2\n\fcomment-test">>]}
** When Server state == {state,"127.0.0.1",8087,false,false,#Port<0.682>,
                            {request,#Ref<0.0.0.50>,rpblistbucketsreq,
                                {<0.37.0>,#Ref<0.0.0.49>},
                                undefined,120000,#Ref<0.0.0.51>},
                            {[],[]},
                            1,[],infinity,100}
** Reason for termination ==
** {'module could not be loaded',
       [{protobuffs,next_field_num,[<<"\n\rcomment-test2\n\fcomment-test">>]},
        {riakclient_pb,decode,3},
        {riakclient_pb,decode,2},
        {riakc_pb_socket,handle_info,2},
        {gen_server,handle_msg,5},
        {proc_lib,init_p_do_apply,3}]}
** exception exit: undef
     in function  protobuffs:next_field_num/1
        called as
protobuffs:next_field_num(<<"\n\rcomment-test2\n\fcomment-test">>)
     in call from riakclient_pb:decode/3
     in call from riakclient_pb:decode/2
     in call from riakc_pb_socket:handle_info/2
     in call from gen_server:handle_msg/5
     in call from proc_lib:init_p_do_apply/3

*sigh*

-- 
Laurent "ker2x" Laborde
Sysadmin & DBA at http://www.over-blog.com/

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to