Re: Cassandra With C++

2010-11-08 Thread David Replogle
Needed to run schematool, and it clicked into place. Command for future reference: bin/schematool localhost 8080 import --David On Mon, Nov 8, 2010 at 3:03 PM, Aaron Morton wrote: > Check that the nodes all have the same view of the schema, for a small > cluster it's easy enough to just use jco

Re: Cassandra With C++

2010-11-08 Thread Aaron Morton
Check that the nodes all have the same view of the schema, for a small cluster it's easy enough to just use jconsole. Then turn up the logging and see what happening server side. Aaron On 09 Nov, 2010,at 08:55 AM, David Replogle wrote:With Python I'm using the fantastic Pycassa library by Tyler (w

Re: Cassandra With C++

2010-11-08 Thread David Replogle
With Python I'm using the fantastic Pycassa library by Tyler (who previously responded). Now I'm getting a "keyspace does not exist error" which I'm trying to sort out right now... because, well, it does exist. I added the following catch: catch (org::apache::cassandra::InvalidRequestException &i

Re: Cassandra With C++

2010-11-08 Thread Aaron Morton
Not sure if this is the problem but the default in 0.7* is to used framed transport, which means creating the TFramedTransport rather than TBufferedTransport. How are you connecting with python? Is it using framed transport?Hope that helps. AaronOn 09 Nov, 2010,at 07:55 AM, David Replogle wrote:I'

Re: Cassandra With C++

2010-11-08 Thread Tyler Hobbs
TFramedTransport needs to be used with Cassandra 0.7. Buffered transport was the default for 0.6, but it was changed to framed for 0.7. - Tyler On Mon, Nov 8, 2010 at 12:55 PM, David Replogle < david.replo...@steketeegreiner.com> wrote: > I'm using Cassandra 0.7beta3 and it's running on localho

Cassandra With C++

2010-11-08 Thread David Replogle
I'm using Cassandra 0.7beta3 and it's running on localhost:9160 and Python works with it just fine. So, I go to run C++ against the system and I get: TTransportException: No more data to read. I did the thrift --gen cpp interface/cassandra.thrift in my 0.7beta3 folder then included those files in