Cassandra Java Driver

2015-12-22 Thread Jean Tremblay
Hi, Which Java Driver is suited for Cassandra 2.2.x. ? I see datastax 3.0.0 beta1 and datastax 2.2.0 rc3... Are they suited for production? Is there anything better? Thanks for your comments and replies? Jean

Is CQLSSTableWriter tied to C* version?

2015-12-22 Thread Kai Wang
Hi, Can sstables created by CQLSSTableWriter in cassandra-all.jar 2.1.12 be loaded into C* 2.2.4? Or they have to be on the same version?

Re: Is CQLSSTableWriter tied to C* version?

2015-12-22 Thread Jonathan Haddad
The streaking format is directly tied to the sstable format. So, in general, if the format changes between versions, you can't stream. I don't think the format changed between these 2 versions, but I'm typing this on my phone and can't verify. On Tue, Dec 22, 2015 at 6:36 PM Kai Wang

Using TTL for data purge

2015-12-22 Thread jaalex.tech
Hi, I'm looking for suggestions/caveats on using TTL as a subsitute for a manual data purge job. We have few tables that hold user information - this could be guest or registered users, and there could be between 500K to 1M records created per day per table. Currently, these tables have a

CQL Composite Key Seen After Table Creation

2015-12-22 Thread Amir Hassani
Hello, Defining the “column_metadata” after table creation vs during table creation seems to affect the cql schema. We are running a large high-throughput Cassandra 2.1.10 cluster. During table creation, the client Cassandra-cli was used with the following commands: “create column family Test

Re: Is CQLSSTableWriter tied to C* version?

2015-12-22 Thread Kai Wang
Jon, Thanks. So I will just update to use cassandra-all.jar 2.2.4 to be sure. On Wed, Dec 23, 2015 at 12:10 AM, Jonathan Haddad wrote: > The streaking format is directly tied to the sstable format. So, in > general, if the format changes between versions, you can't stream.