RE: Getting Cassandra 0.7 beta2 to work - creating keyspaces

2010-10-10 Thread Andre
That's it. Now I can actually have a play with it. Thanks Nicolas From: Nicolas Mathieu [mailto:nico...@gmail.com] Sent: 10 October 2010 22:29 To: user@cassandra.apache.org Subject: Re: Getting Cassandra 0.7 beta2 to work - creating keyspaces Since 0.7 beta 2 or something, locators have d

Re: Getting Cassandra 0.7 beta2 to work - creating keyspaces

2010-10-10 Thread Nicolas Mathieu
Since 0.7 beta 2 or something, locators have differents names. In conf/cassandra.yaml : Out of the box, Cassandra provides # * org.apache.cassandra.locator.SimpleStrategy # * org.apache.cassandra.locator.NetworkTopologyStrategy # * org.apache.cassandra.locator.OldNetworkTopologyStrateg

RE: Getting Cassandra 0.7 beta2 to work - creating keyspaces

2010-10-10 Thread Andre
Yeah that certainly seems to be the way forward, thanks. Made adjustments but I'm still coming up short, the set strategy class method has no javadoc and I'm getting a InvalidRequestException(why:org.apache.cassandra.locator.RackUnawareStrategy ) Am I doing this right, in the old config xml

Re: Getting Cassandra 0.7 beta2 to work - creating keyspaces

2010-10-10 Thread Nicolas Mathieu
Try this : TFramedTranspor transport = new TFramedTransport(new TSocket(host, port)); Cassandra.Client cassandraConn = new Cassandra.Client(new TBinaryProtocol(transport)); transport.open(); It is now Framed transport ;-) Hope that helps Nico008 On 10/10/2010 18:40, Andre wrote: Hi everyon

Getting Cassandra 0.7 beta2 to work - creating keyspaces

2010-10-10 Thread Andre
Hi everyone. I'm having a bit of a problem getting started with 0.7 I had 0.6.4 working and I want to start checking out 0.7, I can't figure out how to create keyspaces to even get started. Can anyone also give me a little info on secondary index's, their purpose and use The following is the

R: Client-side sorting

2010-10-10 Thread cbert...@libero.it
>Hi all, >do you know any component for client-side sorting of cassandra structures? Sorry, i forget. I' am using Java ...