RE: UnavailableException with 3 nodes and RF=2

2010-09-14 Thread Dr . Martin Grabmüller
When you write with QUORUM, RF/2+1 of the nodes cassandra *wants to write* to have to be up. In your case, RF/2+1 = 2, that means, the two nodes responsible for the write have to be up, not any two nodes. Each write which tries to the node with token 78502309573904554351249603414557542595

RE: UUIDs whose alphanumeric order is the same as their chronological order

2010-06-25 Thread Dr . Martin Grabmüller
You can use the sever's name/IP-address+Port and mix it into the random seed. Martin From: David Boxenhorn [mailto:da...@lookin2.com] Sent: Friday, June 25, 2010 10:14 AM To: user@cassandra.apache.org Subject: Re: UUIDs whose

RE: Update vs Delete/Insert

2010-06-16 Thread Dr . Martin Grabmüller
Hi Colin, From: Colin Vipurs [mailto:zodiac...@gmail.com] [...] I've got some data that I'm doing counts on, stored in a CF as: lhid { rhid1 : count rhid2 : count } [...] lhid { count-rhid1 : PLACEHOLDER count-rhid2 : PLACEHOLDER } would be a better way of

RE: Inserting new data, where the key points to a tombstone record.

2010-06-09 Thread Dr . Martin Grabmüller
On 9 June 2010 09:53, Dr. Martin Grabmüller martin.grabmuel...@eleven.de wrote: Hi Jools, what happens in Cassandra with your scenario is the following: 1) insert new record

RE: Expected wait while bootstrapping?

2010-06-07 Thread Dr . Martin Grabmüller
The next time you encounter such a problem, check with JMX whether any compactions are pending on the sending node. Compaction and anticompaction are run in the same stage IIRC, so when a long-running compaction is in progress, all anticompaction on the same node has to wait. Martin

RE: Range search on keys not working?

2010-06-02 Thread Dr . Martin Grabmüller
When not using OOP, you should not use something like 'CATEGORY/' as the end key. Use the empty string as the end key and limit the number of returned keys, as you did with the 'max' value. If I understand correctly, the end key is used to generate an end token by hashing it, and there is not

RE: Range search on keys not working?

2010-06-02 Thread Dr . Martin Grabmüller
that! On Wed, Jun 2, 2010 at 3:15 PM, Dr. Martin Grabmüller martin.grabmuel...@eleven.de wrote: When not using OOP, you should not use something like 'CATEGORY/' as the end key. Use the empty string as the end key and limit the number

RE: trying to make my ideas clear about partionning...

2010-05-10 Thread Dr . Martin Grabmüller
Partitioning is only done for row keys, the part in your message about keys and partitioning is correct. There is no partitioning for columns, all columns for a particular key are stored on the same node (plus replicas, of course, which are stored on different nodes). The CompareWith option

Strange streaming behaviour

2010-05-03 Thread Dr . Martin Grabmüller
Hello list, I encountered a problem with streaming in my test cluster but found nothing like this in JIRA or on the list. I'm running a test cluster of three nodes, RF=3, Cassandra 0.6.1. I started the first node and inserted some data, then bootstrapped the other machines one after the other.