Re: Help to understand a strange behavior with DCQUORUM

2010-05-29 Thread Jonathan Ellis
DCQUORUM is not finished in 0.6, which is why it's not documented there. If you want to test it you'll need to live on the bleeding edge of trunk (or wait for a 0.7 beta). 2010/5/28 Patricio Echagüe : > Hi all, I need to help to understand how DCQUORUM works. > > This is my setup: > > - Cluster w

Re: Unable connect Thrift client to cassandra remotely (connection refused)

2010-05-29 Thread Kamal
Hi i'm using apache-cassandra-0.6.1. I am also trying to connnect to remotely and always get java.net.ConnectException. I have ensured Firewall is turned off in both windows machine. I changed ThrifAddress to 192.168.2.55 as suggested in this thread but still get same exception. Exception conn

Ruby get_range with :reversed?

2010-05-29 Thread Leslie Viljoen
I see the Ruby cassandra gem now supports :count for get_range, which means I can get the first of my slice of records when using OPP, but I can't get the last without get_range supporting a :reversed => true option. Does the underlying API support reversing a slice?

Compaction bringing a node to its knees

2010-05-29 Thread James Golick
I just experienced a compaction that brought a node to 100% of its IO capacity and made its responses incredibly slow. It wasn't enough to make the node actually appear as down, though, so it slowed down the operation of the cluster considerably. The CF being compacted contains a lot of relativel

Re: Continuously increasing RAM usage

2010-05-29 Thread James Golick
Well, it's been a few days on 0.6.2 and the new jvm and the behaviour looks to be about the same: http://skitch.com/jamesgolick/df46f/munin-fetlife.com-cassandra0.fetlife.com-cassandra-memory There's only one cache turned on, and it's a row cache, but the sizes of the rows are identical and it's

Re: Continuously increasing RAM usage

2010-05-29 Thread Jonathan Ellis
Did you manually invoke a GC? It doesn't look like you're using enough of the heap for it to care much on its own. On Sat, May 29, 2010 at 2:58 PM, James Golick wrote: > Well, it's been a few days on 0.6.2 and the new jvm and the behaviour looks > to be about the same: > http://skitch.com/jamesg

Re: Ruby get_range with :reversed?

2010-05-29 Thread Jonathan Ellis
Cassandra supports slicing columns within a row in reversed order, but not iterating rows in reverse. On Sat, May 29, 2010 at 2:49 PM, Leslie Viljoen wrote: > I see the Ruby cassandra gem now supports :count for get_range, which > means I can get the first of my slice of records when using OPP, b

Re: Compaction bringing a node to its knees

2010-05-29 Thread Jonathan Ellis
You could try setting the compaction thread to a lower priority. You could add a thread priority to NamedThreadPool, and pass that up from CompactionExecutor constructor. According to http://www.javamex.com/tutorials/threads/priority_what.shtml you have to run as root and add a JVM option to get

Sorting by timestamp

2010-05-29 Thread Erik
Hi, I have a list of posts I'm trying to insert into Cassandra. Each post has a timestamp already (in the past) that is not necessarily unique. I'm trying to insert these posts into Cassandra so that when I retrieve them, they are ordered chronologically. When I insert them, I can't guarantee

Re: Sorting by timestamp

2010-05-29 Thread Tupshin Harper
Generate a timeuuid for each post based on the original timestamp. -Tupshin On May 29, 2010 7:50 PM, "Erik" wrote: Hi, I have a list of posts I'm trying to insert into Cassandra. Each post has a timestamp already (in the past) that is not necessarily unique. I'm trying to insert these posts