When to call the major compaction ?

2010-11-30 Thread Ying Tang
Every time cassandra creates a new sstable , it will call the CompactionManager.submitMinorIfNeeded ? And if the number of memtables is beyond MinimumCompactionThreshold , the minor compaction will be called. And there is also a method named CompactionManager.submitMajor , and the call relations

Re: C++ client for Cassandra

2010-11-30 Thread sharanabasava raddi
Thrift is there.. On Wed, Dec 1, 2010 at 11:43 AM, Narendra Sharma wrote: > Are there any C++ clients out there similar to Hector (in terms of > features) for Cassandra? I am looking for C++ Client for Cassandra 0.7. > > Thanks, > Naren > > >

C++ client for Cassandra

2010-11-30 Thread Narendra Sharma
Are there any C++ clients out there similar to Hector (in terms of features) for Cassandra? I am looking for C++ Client for Cassandra 0.7. Thanks, Naren

pid file is not created in Windows Environment....

2010-11-30 Thread rambabu pakala
Hi,   Can you Please help me, why the pid file is not created in windows environment when I try with C:\apache-cassandra-0.6.6\bin>cassandra.bat -p c.pid ?   Is there a better way to shutdown the cassandra server instead of kill pid?   Thanks, -Ram.

Re: Achieving isolation on single row modifications with batch_mutate

2010-11-30 Thread E S
I'm a little confused about #3. Hopefully this clarifying question won't turn the one maybe into a no :). I'm fine not reading the latest data, as long as on each individual read I see all or none of the operations that occurred for a single one row batch_mutate. My concern is do I have to loc

Re: JVM OOM on node startup

2010-11-30 Thread Jonathan Ellis
If you're getting OOM with adaptive heap size of > 1GB, reducing it to 1GB is not going to make things better. :) On Tue, Nov 30, 2010 at 2:28 PM, Brayton Thompson wrote: > Hello again. >        We have 3 nodes and were testing what happens when a node goes down. > There is roughly 10gb of data

Re: JVM OOM on node startup

2010-11-30 Thread Aaron Morton
Looks like it's trying to load your row cache and running out of memory, probably because you reduced the memory. The cassandra-env.sh script would have been giving it 2GB. 1Gb heap is probably going to be to small. Was this the same error you were getting before you reduced the memory ? Try deleti

JVM OOM on node startup

2010-11-30 Thread Brayton Thompson
Hello again. We have 3 nodes and were testing what happens when a node goes down. There is roughly 10gb of data on each node. The node we "simulated" dieing was working just fine under the load. Then we killed it. The ring performed admirably, But upon restarting the node it dies every t

Re: get_count - cassandra 0.7.x predicate limit bug?

2010-11-30 Thread Edward Capriolo
On Tue, Nov 30, 2010 at 1:00 AM, Tyler Hobbs wrote: > What error are you getting? > > Remember, get_count() is still just about as much work for cassandra as > getting the whole row; the only advantage is it doesn't have to send the > whole row back to the client. > > If you're counting 3+ million

Re: Achieving isolation on single row modifications with batch_mutate

2010-11-30 Thread Ed Anuff
It's hard to tell without knowing the the nature of the data you're writing, but you might want to think about whether you can embed any sort of version number and/or checksum into the column names of the chunk columns. That way, you could very easily determine that the data you wanted to retrieve

Re: Updating Cascal

2010-11-30 Thread Daniel Lundin
I'd highly recommend looking at Hector (v2) as well. It's very nice. I'm using it from Scala without any issues. Rather than duplicating the effort of scromium, cascal, scalandra, and not to mention Hector itself, perhaps it'd worthwhile taking a stab at a Scala interface wrapping Hector? Connect

Re: Updating Cascal

2010-11-30 Thread Michael Fortin
Your referring to this: https://github.com/cliffmoon/scromium right? Thanks for the tip, I'll give it a try. _Mike On Nov 30, 2010, at 9:51 AM, Jonathan Ellis wrote: > Did you look at Scromium? > > On Tue, Nov 30, 2010 at 8:27 AM, Michael Fortin wrote: >> Hi Tyler, >> Thanks for the respons

Re: Updating Cascal

2010-11-30 Thread Jonathan Ellis
Did you look at Scromium? On Tue, Nov 30, 2010 at 8:27 AM, Michael Fortin wrote: > Hi Tyler, > Thanks for the response.  I decided to give up on it, and start my own Scala > based api modeled on Cascal since it's no longer supported. > _M!ke > On Nov 30, 2010, at 1:06 AM, Tyler Hobbs wrote: > > A

Re: Achieving isolation on single row modifications with batch_mutate

2010-11-30 Thread Jonathan Ellis
On Sat, Nov 27, 2010 at 10:12 AM, E S wrote: > I'm trying to figure out the best way to achieve single row modification > isolation for readers. I have a lot of No's for you. :) > As an example, I have 2 rows (1,2) with 2 columns (a,b).  If I modify both > rows, > I don't care if the user sees

Re: Updating Cascal

2010-11-30 Thread Michael Fortin
Hi Tyler, Thanks for the response. I decided to give up on it, and start my own Scala based api modeled on Cascal since it's no longer supported. _M!ke On Nov 30, 2010, at 1:06 AM, Tyler Hobbs wrote: > Are you sure you're using the same key for batch_mutate() and get_slice()? > They appear

Re: Achieving isolation on single row modifications with batch_mutate

2010-11-30 Thread E S
I'm chunking up a larger blob. Basically the size of each row can vary (averages around 500K - 1MB), with some outliers in the 50 MB range. However, when I do an update, I can usually just read/update a portion of that blob. A lot of my read operations can also work on a smaller chunk. The

Re: Introduction to Cassandra

2010-11-30 Thread aaron morton
Jim, Jonathan thanks for the feedback. I was trying something different and rattled through the whole deck in about 35-40 minutes. I'll be doing the talk again at the Wellington Python Users Group this Thursday http://nzpug.org/MeetingsWellington Aaron On 30 Nov 2010, at 20:18, Jim Morrison

RE: Booting Cassandra v0.7.0 on Windows: rename failed

2010-11-30 Thread Ramon Rockx
Hi, The bug report can be found at: https://issues.apache.org/jira/browse/CASSANDRA-1790 Regards, Ramon From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: maandag 29 november 2010 16:09 To: user Subject: Re: Booting Cassandra v0.7.0 on Windows: rename failed