Transaction/Locking Support

2010-10-20 Thread Wicked J
Hi, I'm trying to persist the contents of my app. objects to Cassandra. The objects in here are loosely modeled on key value (KV) stores. If the KV store is extended from HashMap and mapped to a ColumnFamily with put and get ops mapping to insert/read from Cassandra. Then my questions are: a) What

How to get all rows inserted

2010-10-19 Thread Wicked J
Hi, I inserted 500 rows (records) in Cassandra and I'm using the following code to retrieve all the inserted rows. However, I'm able to get only 100 rows (in a random order). I'm using Cassandra v0.6.4 with OrderPreserving Partition on a single node/instance. How can I get all the rows inserted? i.

What is the correct way of changing a partitioner?

2010-10-18 Thread Wicked J
Hi, I deleted all the data (programmatically). Then I changed the partitioner from RandomPartitioner to OrderPreservingPartitioner and when I started Cassandra - I get the following error. What is the correct way of changing the partitioner and how can I get past this error? ERROR 17:28:28,985 Fat

Re: Recommended sort mechanism and partitioner

2010-10-15 Thread Wicked J
family with an > index > row (or rows) sorted by TimeUUID. (This sounds like what you're > suggesting.) > > - Tyler > > > I wrote some thoughts about this on my blog. I think it's still mostly >> correct: >> >> * http://www.ayogo.com/techblog/201

Recommended sort mechanism and partitioner

2010-10-15 Thread Wicked J
Hi, I'm using TimeUUID/Sort by column name mechanism. The column value can contain text data (in future they may contain image data as well) leading to the possibility of a row out-growing the RAM capacity. Given this background my questions are: a] How many columns are recommended against one row