Re: Problem with Deletes

2010-06-20 Thread Benjamin Black
http://wiki.apache.org/cassandra/DistributedDeletes On Thu, Jun 17, 2010 at 9:10 AM, Amir amir7...@yahoo.com wrote: Hi All, I'm running a benchmark on Cassandra while using a benchmark client which I've written myself. I'm running the following scenario: One Cassandra node on the same

Uneven distribution using RP

2010-06-20 Thread James Golick
I just increased my cluster from 2 to 4 nodes, and RF=2 to RF=3, using RP. The tokens seem pretty even on the ring, but two of the nodes are far more heavily loaded than the others. I understand that there are a variety of possible reasons for this, but I'm wondering whether anybody has

Re: Uneven distribution using RP

2010-06-20 Thread Jordan Pittier - Rezel
Hi, Have you tried nodetool repair (or cleanup) on your nodes ? On Sun, Jun 20, 2010 at 4:16 PM, James Golick jamesgol...@gmail.com wrote: I just increased my cluster from 2 to 4 nodes, and RF=2 to RF=3, using RP. The tokens seem pretty even on the ring, but two of the nodes are far more

Re: Uneven distribution using RP

2010-06-20 Thread James Golick
I ran cleanup on all of them and the distribution looked roughly even after that, but a couple of days later, it's looking pretty uneven. On Sun, Jun 20, 2010 at 10:21 AM, Jordan Pittier - Rezel jor...@rezel.netwrote: Hi, Have you tried nodetool repair (or cleanup) on your nodes ? On Sun,

Re: Uneven distribution using RP

2010-06-20 Thread Jordan Pittier - Rezel
Node 1 should have token 42535295865117307932921825928971026432 and node 3 127605887595351923798765477786913079296 according to the formula i * (2**127 / 4) for i=1..4 On Sun, Jun 20, 2010 at 4:31 PM, James Golick jamesgol...@gmail.com wrote: I ran cleanup on all of them and the distribution

Re: Uneven distribution using RP

2010-06-20 Thread James Golick
I know, but that's not a big enough difference to warrant the huge amount of difference in load. On Sun, Jun 20, 2010 at 10:53 AM, Jordan Pittier - Rezel jor...@rezel.netwrote: Node 1 should have token 42535295865117307932921825928971026432 and node 3 127605887595351923798765477786913079296

Instability and memory problems

2010-06-20 Thread James Golick
As I alluded to in another post, we just moved from 2-4 nodes. Since then, the cluster has been incredibly The memory problems I've posted about before have gotten much worse and our nodes are becoming incredibly slow/unusable every 24 hours or so. Basically, the JVM reports that only 14GB is

Re: Instability and memory problems

2010-06-20 Thread Ran Tavory
I don't have the answer but if you provide jmap output, cfstats output that may help. Are you using mmap files? Do you see swap? Gc in the logs? On Jun 20, 2010 7:25 PM, James Golick jamesgol...@gmail.com wrote: As I alluded to in another post, we just moved from 2-4 nodes. Since then, the

unsubscribe

2010-06-20 Thread Sébastien MORATINOS
unsubscribe

bulk loading

2010-06-20 Thread Torsten Curdt
I am trying to get the bulk loading example to work for simple CF. ListColumnFamily columnFamilies = new LinkedListColumnFamily(); while(...) { String[] fields = ... ColumnFamily columnFamily = ColumnFamily.create(keyspace, family); long now =

Re: Thrift Client on Ruby, does it need compiled bindings? (or anything else to make it faster?)

2010-06-20 Thread Benjamin Black
Only one: don't use it if you want performance. On Sun, Jun 20, 2010 at 11:11 AM, Christian van der Leeden christian.vanderlee...@googlemail.com wrote: Hi,        I'm just experimenting and benchmarking cassandra for my use case. I'm using the fauna/cassandra and fauna/thrift_client. Is there

Re: Instability and memory problems

2010-06-20 Thread James Golick
Thanks for your thoughts. Answers below: On Sun, Jun 20, 2010 at 2:21 PM, Peter Schuller peter.schul...@infidyne.com wrote: The memory problems I've posted about before have gotten much worse and our nodes are becoming incredibly slow/unusable every 24 hours or so. Basically, the JVM

Re: Instability and memory problems

2010-06-20 Thread James Golick
uh. wow. I just read up on all this again, and read the code, and I'm a little surprised, to be honest. There's no attempt to manage the total size of the mmap()'d IO, and the default buffer allocation is quite sizeable. So, basically, if you have any data, over time, you will run out of memory,

RE: Lucandra issues

2010-06-20 Thread Carlos Sanchez
Jake, I will be interested in this functionality Carlos From: Jake Luciani [jak...@gmail.com] Sent: Friday, June 18, 2010 10:57 PM To: user@cassandra.apache.org Subject: Re: Lucandra issues Hi Maxim, Lucandra doesn't support numeric queries quite yet. A

django or pylons

2010-06-20 Thread S Ahmed
Seeing as I will be using a different ORM, would it make more sense to use pylons over django? From what I understand, pylons assumes less as compared to django.

Re: Instability and memory problems

2010-06-20 Thread James Golick
I opened #1214 about this. I hope people will take a look and provide their feedback. https://issues.apache.org/jira/browse/CASSANDRA-1214 Thanks. On Sun, Jun 20, 2010 at 3:58 PM, James Golick jamesgol...@gmail.com wrote: uh. wow. I just read up on all this again, and read the code, and I'm a

Atomic Compare and Swap

2010-06-20 Thread Rishi Bhardwaj
Hi I was wondering if Cassandra has any plans for supporting atomic compare and swap operation on a column value? Compare could be on timestamp for the column or the column value itself and the write of course is on the column value + a new timestamp. If there are no plans on supporting such

Re: Atomic Compare and Swap

2010-06-20 Thread Benjamin Black
No. On Sun, Jun 20, 2010 at 2:42 PM, Rishi Bhardwaj khichri...@yahoo.com wrote: Hi I was wondering if Cassandra has any plans for supporting atomic compare and swap operation on a column value? Compare could be on timestamp for the column or the column value itself and the write of course is

Re: django or pylons

2010-06-20 Thread Charles Woerner
I recently looked into this and came to the same conclusion, but I'm not an expert in either Django or Pylons so I'd also be interested in hearing what someone with more Python experience would say. On Sun, Jun 20, 2010 at 1:42 PM, S Ahmed sahmed1...@gmail.com wrote: Seeing as I will be using a

Re: django or pylons

2010-06-20 Thread Joe Stump
A lot of the magic that Django brings to the table is derived from the ORM. If you're skipping that then Pylons likely makes more sense. --Joe On Jun 20, 2010, at 5:08 PM, Charles Woerner charleswoer...@gmail.com wrote: I recently looked into this and came to the same conclusion, but I'm not