incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nilskyone <niel.rid...@gmail.com>
Subject Re: Using Cassandra via the Erlang Thrift Client API (HOW ??)
Date Tue, 08 Jun 2010 07:18:56 GMT

Greetings,


I am also exploring erlang and cassandra via thrift..

but when inserting i've encountered this error.


(test@ubuntu)11> thrift_client:call(C,'insert',[
"Keyspace1","1",#columnPath{column_family="Standard1", column="email"},
"ted@example.com",1,1 ]).

=ERROR REPORT==== 8-Jun-2010::15:07:58 ===
** Generic server <0.118.0> terminating 
** Last message in was {call,insert,
                             ["Keyspace1","1",
                              {columnPath,"Standard1",undefined,"email"},
                              "ted@example.com",1,1]}
** When Server state == {state,cassandra_thrift,
                         {protocol,thrift_binary_protocol,
                          {binary_protocol,
                           {transport,thrift_buffered_transport,<0.119.0>},
                           true,true}},
                         0}
** Reason for termination == 
** {'module could not be loaded',
       [{cassandra_thrift,function_info,[insert,params_type]},
        {thrift_client,send_function_call,3},
        {thrift_client,'-handle_call/3-fun-0-',3},
        {thrift_client,catch_function_exceptions,2},
        {thrift_client,handle_call,3},
        {gen_server,handle_msg,5},
        {proc_lib,init_p_do_apply,3}]}
** exception exit: undef
     in function  cassandra_thrift:function_info/2
        called as cassandra_thrift:function_info(insert,params_type)
     in call from thrift_client:send_function_call/3
     in call from thrift_client:'-handle_call/3-fun-0-'/3
     in call from thrift_client:catch_function_exceptions/2
     in call from thrift_client:handle_call/3
     in call from gen_server:handle_msg/5
     in call from proc_lib:init_p_do_apply/3


Is there anyone who encountered the problem above. :)


thanks in advanced :)

- Niel Riddle :)

-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Using-Cassandra-via-the-Erlang-Thrift-Client-API-HOW-tp4672926p5152514.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message