Query data in a CF within a timestamp range

2013-02-28 Thread Kasun Weranga
Hi all, I have a column family with some data + timestamp values and I want to query the column family to fetch data within a timestamp range. AFAIK it is not better to use secondary index for timestamp due to high cardinality. Is there a way to achieve this functionality? Thanks, Kasun.

Does Cassandra support IBM JDK?

2013-02-09 Thread Kasun Weranga
Hi all, I tested Cassandra 1.1.3 version on IBM JDK 1.6 in Linux. But I got following issue when inserting data to Cassandra. This is the exception ERROR {org.apache.cassandra.thrift.CustomTThreadPoolServer} - Error occurred during processing of message. java.lang.NullPointerException at

Re: Issue when deleting Cassandra rowKeys.

2013-01-27 Thread Kasun Weranga
: chunk_length_kb: 128 sstable_compression: org.apache.cassandra.io.compress.SnappyCompressor I am using Cassandra 1.1.3. Appreciate your help on solving this. Thanks, Kasun. Are your findings before or after this time after the deletion? From: Kasun Weranga kas...@wso2.com Reply

Re: Issue when deleting Cassandra rowKeys.

2013-01-27 Thread Kasun Weranga
Hi, After running compaction tombstones get removed. So It seems like only setting GC grace seconds to lower value is not enough. Am I correct ? Thanks, Kasun On Sun, Jan 27, 2013 at 1:31 PM, Kasun Weranga kas...@wso2.com wrote: Hi, On Sun, Jan 27, 2013 at 12:05 AM, Michael Kjellman

Issue when deleting Cassandra rowKeys.

2013-01-26 Thread Kasun Weranga
Hi all, When I delete some rowkeys programmatically I can see two rowkeys remains in the column family. I think it is due to tombstones. Is there a way to remove it when deleting rowkeys. Can I run compaction programmatically after deletion? will it remove all these remaining rowkeys. Thanks,

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 kas...@wso2.com 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

Cassandra commitlog directory size increase on every restart - Cassandra 1.1.0

2012-08-08 Thread Kasun Weranga
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 explicitly setting commitlog_total_space_in_mb in cassandra.yaml. I set commitlog_total_space_in_mb as 512 in

Help needed to solve an issue with Cassandra cluster

2012-02-20 Thread Kasun Weranga
Hi All, I have setup 3 nodes Cassandra cluster(cassandra version is 0.7). In the code base I am creating few column families using Hector client with default consistency level and the replication factor of key space is 2. While running the code I am getting following exception repeatedly on