Cassandra-jdbc-1.1.1 driver compatibility with Cassandra servers

2012-08-09 Thread Dinusha Dilrukshi
Does cassandra-jdbc-1.1.1 driver can be used with Cassandra server 1.0.0 version ? Or does it support only the Cassandra server versions 1.1.0 and later ? Regards, ~Dinusha~

Decision Making- YCSB

2012-08-09 Thread Roshni Rajagopal
Hi Folks, I'm coming up with a set of decision criteria on when to chose traditional RDBMS vs various NoSQL options. So one aspect is the application requirements around Consistency, Availability, Partition Tolerance, Scalability, Data Modeling etc. These can be decided at a theoretical level

Re: triggering the assertion at the start of ColumnFamilyStore.getRangeSlice

2012-08-09 Thread Jose Flexa
Hi. I´ve avoided the issue by disabling assertions (-da). Any suggestions on a better strategy? Thanks José On Thu, Aug 9, 2012 at 5:29 PM, Jose Flexa wrote: > Hi, > > I am triggering the assertion at the start of > ColumnFamilyStore.getRangeSlice when setting a SlicePredicate with > sliceRange

triggering the assertion at the start of ColumnFamilyStore.getRangeSlice

2012-08-09 Thread Jose Flexa
Hi, I am triggering the assertion at the start of ColumnFamilyStore.getRangeSlice when setting a SlicePredicate with sliceRange.setStart(new byte[0]), sliceRange.setFinish(new byte[0]); sliceRange.setCount(Integer.MAX_VALUE); in a AWS EMR job flow. AWS EMR uses libthrift 0.7.0 but my cassandra clu

Physical storage of rowkey

2012-08-09 Thread A J
Are row key hashed before being physically stored in Cassandra ? If so, what hash function is used to ensure collision is minimal. Thanks.

Re: change cluster name

2012-08-09 Thread Rob Coli
On Wed, Aug 8, 2012 at 10:28 PM, rajesh.ba...@orkash.com wrote: > i would suggest you delete the files in your system keyspace folder except > files like Schema*.*. This thread could have been much shorter with a judicious use of "grep", heh ... # grep -i name /etc/cassandra/cassandra.yaml clust

Re: Cassandra data model help

2012-08-09 Thread Aaron Turner
On Thu, Aug 9, 2012 at 5:52 AM, wrote: > Hi, > I am trying to create a Cassandra schema for cluster monitoring system, where > one cluster can have multiple nodes and I am monitoring multiple matrices > from a node. My raw data schema looks like and taking values in every 5 min > interval > >

RE: RE Restore snapshot

2012-08-09 Thread mdione.ext
De : Sylvain Lebresne [mailto:sylv...@datastax.com] > 2) copy the snapshot sstable in the right place and call the JMX method > loadNewSSTables() (in the column family MBean, which mean you need to > do that per-CF). How does this affect the contents of the CommitLogs? I mean, I imagine u

Thrift batch_mutate erase previous data?

2012-08-09 Thread Cyril Auburtin
Hello It seems the Thrift method *batch-mutate*, with Mutations, will not update the previous data with the mutation given, but clear and replace by it? right? thanks for answers How could I do if I have more than one field to update, I should send several thrft *insert*?

Re: Cassandra commitlog directory size increase on every restart - Cassandra 1.1.0

2012-08-09 Thread Kasun Weranga
Any idea on how to fix this? Thanks, Kasun On Wed, Aug 8, 2012 at 11:56 AM, Kasun Weranga wrote: > Hi all, > > I am facing the above issue in Cassandra 1.1.0, it will add 134.2MB > commitlog file in every restart, but it never delete it. We can't control > the commitlog dir size even > by expli

Key order check in sstable2json

2012-08-09 Thread Mat Brown
Hello, We've noticed that when passing multiple -k arguments to the sstable2json utility, we pretty much always get an IOException with "Key out of order!". Looking at this: https://github.com/apache/cassandra/blob/cassandra-1.0.10/src/java/org/apache/cassandra/tools/SSTableExport.java#L241 it loo

Cassandra data model help

2012-08-09 Thread dinesh . simkhada
Hi, I am trying to create a Cassandra schema for cluster monitoring system, where one cluster can have multiple nodes and I am monitoring multiple matrices from a node. My raw data schema looks like and taking values in every 5 min interval matrix_name + daily time stamp as row key, composite co

cassandra unable to start after upgrading to 1.1

2012-08-09 Thread Ahmed Ababne
Hi I am running 12.04 Ubuntu, and had cassandra ubuntu packaged installation. I have just upgraded cassandra from 1.0 to 1.1. I followed the step provided by this link http://www.datastax.com/docs/1.1/install/upgrading Anyway, when I try to start cassandra using the command: sudo cassandra -f