Re: Problems using Thrift API in C

2011-08-04 Thread aaron morton
est version of Thrift (0.7) it seems that older > versions cannot talk to Cassandra properly. > > - Original Message - > From: "Rafael Almeida" > To: user@cassandra.apache.org > Sent: Thursday, August 4, 2011 1:53:20 PM > Subject: Re: Problems using Thrift AP

Re: Problems using Thrift API in C

2011-08-04 Thread Konstantin Naryshkin
Rafael: Try using the latest version of Thrift (0.7) it seems that older versions cannot talk to Cassandra properly. - Original Message - From: "Rafael Almeida" To: user@cassandra.apache.org Sent: Thursday, August 4, 2011 1:53:20 PM Subject: Re: Problems using Thrif

Re: Problems using Thrift API in C

2011-08-04 Thread Rafael Almeida
- Original Message - > From: Konstantin Naryshkin > To: user@cassandra.apache.org > Cc: > Sent: Thursday, August 4, 2011 10:36 AM > Subject: Re: Problems using Thrift API in C > > I have had similar issues when I generated Cassandra for Erlang. It seems > t

Re: Problems using Thrift API in C

2011-08-04 Thread Konstantin Naryshkin
). - Original Message - From: "Aleksandrs Saveljevs" To: user@cassandra.apache.org Sent: Monday, August 1, 2011 7:41:49 AM Subject: Re: Problems using Thrift API in C No, at least not at the default logging level. However, we have solved the problem by checking out the latest r

Re: Problems using Thrift API in C

2011-08-01 Thread Aleksandrs Saveljevs
No, at least not at the default logging level. However, we have solved the problem by checking out the latest revision of Thrift from the official repository, so it seems that it was not Cassandra's problem. On 07/29/2011 10:13 PM, ruslan usifov wrote: Do you have any error messages in cassand

Re: Problems using Thrift API in C

2011-07-29 Thread ruslan usifov
Do you have any error messages in cassandra log? 2011/7/28 Aleksandrs Saveljevs > Dear all, > > We are considering using Cassandra for storing gathered data in Zabbix (see > https://support.zabbix.com/**browse/ZBXNEXT-844for > more details). Becaus

Re: Problems using Thrift API in C

2011-07-29 Thread Aleksandrs Saveljevs
We have installed Thrift from the official repository (trunk, revision 1152120) and our code now sets keyspace successfully. Apparently, a related bug has been fixed in Thrift after the release of Thrift 0.6.1. We shall share some example C code if we manage to get this working. On 07/28/2011

Re: Problems using Thrift API in C

2011-07-28 Thread Eric Tamme
On 07/28/2011 05:29 AM, Aleksandrs Saveljevs wrote: essentially a rewrite of the first part of the C++ example given at http://wiki.apache.org/cassandra/ThriftExamples#C.2B-.2B- . If we run it under strace, we see that it hangs on the call to recv() when setting keyspace: $ strace -s 64 ./tes

Problems using Thrift API in C

2011-07-28 Thread Aleksandrs Saveljevs
Dear all, We are considering using Cassandra for storing gathered data in Zabbix (see https://support.zabbix.com/browse/ZBXNEXT-844 for more details). Because Zabbix is written in C, we are considering using Thrift API in C, too. However, we are running into problems trying to get even the b