Re: Mutate function not working

2010-04-30 Thread Zubair Quraishi
The full exception is: ** exception exit: {bad_return_value,{error,{function_clause,[{dict,size, [{"Key1", {<<"KeyValue">>, [{mutation,{column,"property","value",2},undefined}]}}]}, {thrift_protocol,write,2}, {thrift_protocol,

Re: Mutate function not working

2010-04-30 Thread Jonathan Ellis
You could try asking on the user@ list, but it looks like erlang is eating an invalidrequestexception which is not very helpful. On Fri, Apr 30, 2010 at 8:16 AM, Zubair Quraishi wrote: > I have the following code in Erlang to set a value and then add a > property. The first set works but the muta

Mutate function not working

2010-04-30 Thread Zubair Quraishi
I have the following code in Erlang to set a value and then add a property. The first set works but the mutate fails. Can anyone enlighten me? Thanks {ok, C} = thrift_client:start_link("127.0.0.1",9160, cassandra_thrift), Key = "Key1", % % set first property % thrift_client:call( C,