Re: tombstones problem with 1.0.8

2012-03-27 Thread John Laban
(Radim: I'm assuming you mean do not delete already deleted columns as Ross doesn't delete his rows.) Just to be clear about Ross' situation: he continually inserts columns and later deletes columns from the same set of rows. As long as he *doesn't* *keep deleting already-deleted columns*

Internal error processing get_slice (NullPointerException)

2012-03-26 Thread John Laban
Has anyone seen this particular NPE before from Cassandra? This is on 1.0.8. It seems to happen transiently on multiple nodes in my cluster, every so often, and goes away. ERROR [Thrift:45] 2012-03-26 19:59:12,024 Cassandra.java (line 3041) Internal error processing get_slice

Re: Composite keys and range queries

2012-03-14 Thread John Laban
. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 14/03/2012, at 1:05 PM, John Laban wrote: Forwarding to the Cassandra mailing list as well, in case this is more of an issue on how I'm using Cassandra. Am I correct to assume that I can

Re: Composite keys and range queries

2012-03-14 Thread John Laban
priority is the tweet_id -Jeremiah -- *From:* John Laban [j...@pagerduty.com] *Sent:* Wednesday, March 14, 2012 12:37 PM *To:* user@cassandra.apache.org *Subject:* Re: Composite keys and range queries Hmm, now I'm really confused. This may be of use

Re: Composite keys and range queries

2012-03-13 Thread John Laban
help would be appreciated, John On Tue, Mar 13, 2012 at 12:15 PM, John Laban j...@pagerduty.com wrote: Hi, I have a column family that uses a composite key: (ID, priority) - ... Where the ID is a UUID and the priority is an integer. I'm trying to perform a range query now: I want all

Re: best practices for simulating transactions in Cassandra

2011-12-15 Thread John Laban
://github.com/Netflix/curator? this seems to be a versatile package. On Tue, Dec 13, 2011 at 6:06 AM, John Laban j...@pagerduty.com wrote: Ok, great. I'll be sure to look into the virtualization-specific NTP guides. Another benefit of using Cassandra over Zookeeper for locking is that you don't have

Re: best practices for simulating transactions in Cassandra

2011-12-12 Thread John Laban
performance than ZooKeeper for storing snapshots, especially as transaction size increases Best, Dominic On 11 December 2011 01:53, Guy Incognito dnd1...@gmail.com wrote: you could try writing with the clock of the initial replay entry? On 06/12/2011 20:26, John Laban wrote: Ah, neat

Re: best practices for simulating transactions in Cassandra

2011-12-12 Thread John Laban
will provide better performance than ZooKeeper for storing snapshots, especially as transaction size increases Best, Dominic On 11 December 2011 01:53, Guy Incognito dnd1...@gmail.com wrote: you could try writing with the clock of the initial replay entry? On 06/12/2011 20:26, John Laban wrote

Re: best practices for simulating transactions in Cassandra

2011-12-12 Thread John Laban
increases Best, Dominic On 11 December 2011 01:53, Guy Incognito dnd1...@gmail.com wrote: you could try writing with the clock of the initial replay entry? On 06/12/2011 20:26, John Laban wrote: Ah, neat. It is similar to what was proposed in (4) above with adding transactions to Cages

Re: best practices for simulating transactions in Cassandra

2011-12-06 Thread John Laban
making the job, you keep the possibility to replay and replay and replay (synchronously or in a batch). Regards Jérémy 2011/12/5 John Laban j...@pagerduty.com Hello, I'm building a system using Cassandra as a datastore and I have a few places where I am need of transactions. I'm using

best practices for simulating transactions in Cassandra

2011-12-05 Thread John Laban
Hello, I'm building a system using Cassandra as a datastore and I have a few places where I am need of transactions. I'm using ZooKeeper to provide locking when I'm in need of some concurrency control or isolation, so that solves that half of the puzzle. What I need now is to sometimes be able