Re: row cache

2013-09-01 Thread Faraaz Sareshwala
rash/evictions. > > > > Neither cache seems suitable for wide row + slicing usecases, eg time > > series data or CQL tables whose compound keys create wide rows under the > > hood. > > > > Bill > > > > > > On 2013/08/23 17:30, Robert Coli wro

Re: row cache

2013-08-22 Thread Faraaz Sareshwala
13 at 7:40 PM, Boris Yen wrote: > If you are using off-heap memory for row cache, "all writes invalidate the > entire row" should be correct. > > Boris > > > On Fri, Aug 23, 2013 at 8:32 AM, Robert Coli (mailto:rc...@eventbrite.com)> wrote: &

row cache

2013-08-14 Thread Faraaz Sareshwala
At the Cassandra 2013 conference, Axel Liljencrantz from Spotify discussed various cassandra gotchas in his talk on "How Not to Use Cassandra." One of the sections of his talk was on the row cache. If you weren't at the talk, or don't remember it, the video is up on youtube [1]. The discussion o

Re: Large number of pending gossip stage tasks in nodetool tpstats

2013-08-07 Thread Faraaz Sareshwala
And by that last statement, I mean are there any further things I should look for given the information in my response? I'll definitely look at implementing your suggestions and see what I can find. On Aug 7, 2013, at 7:31 PM, "Faraaz Sareshwala" wrote: > Thanks Aaron.

Re: Large number of pending gossip stage tasks in nodetool tpstats

2013-08-07 Thread Faraaz Sareshwala
UG so you can see what's going on. > It's unusual for only the gossip pool to backup. If there were issues with GC > taking CPU we would expect to see it across the board. > > Cheers > > > > - > Aaron Morton > Cassandra Consultant >

Large number of pending gossip stage tasks in nodetool tpstats

2013-08-06 Thread Faraaz Sareshwala
I'm running cassandra-1.2.8 in a cluster with 45 nodes across three racks. All nodes are well behaved except one. Whenever I start this node, it starts churning CPU. Running nodetool tpstats, I notice that the number of pending gossip stage tasks is constantly increasing [1]. When looking at nodeto

Re: merge sstables

2013-07-11 Thread Faraaz Sareshwala
I assume you are using the leveled compaction strategy because you have 5mb sstables and 5mb is the default size for leveled compaction. To change this default, you can run the following in the cassandra-cli: update column family cf_name with compaction_strategy_options = {sstable_size_in_mb: 25

Re: Working with libcql

2013-07-10 Thread Faraaz Sareshwala
On that note, is anyone using this library in production? Can anyone speak to its stability and readiness for use? I only noticed it on the list of cassandra clients a few days ago and haven't heard much talk about it elsewhere. Faraaz On Wed, Jul 10, 2013 at 05:55:55PM -0700, Baskar Duraikannu w

Trying to write when at cassandra capacity

2013-07-08 Thread Faraaz Sareshwala
What does cassandra do when it is at its data capacity (disk drives and memtable is full) and writes continue to pour in? My intuition says that cassandra won't be able to handle the new writes (they will either get silently dropped or cassandra will hit an OOM -- does anyone know which one?). The

error on startup: unable to find sufficient sources for streaming range

2013-06-19 Thread Faraaz Sareshwala
Hi, I couldn't find any information on the following error so I apologize if it has already been discussed. On some of my nodes, I'm getting the following exception when cassandra starts up: 2013-06-19 22:17:39.480414500 Exception encountered during startup: unable to find sufficient sources fo

Joining distinct clusters with the same schema together

2013-06-19 Thread Faraaz Sareshwala
My company is planning on deploying cassandra to three separate datacenters. Each datacenter will have a cassandra cluster with a separate set of seeds specific to that datacenter. However, the cluster name will be the same. Question 1: is this enough to guarentee that the three datacenters will h

Re: rename a cluster in cassandra 1.2.6

2013-06-18 Thread Faraaz Sareshwala
Can you expand on the reasoning behind this? I was bitten by this yesterday when trying to change the cluster name -- I thought I could just change it in the cassandra.yaml and be done with it but cassandra wouldn't start because of this error. What's the process when it's not a test system (mine

Re: headed to cassandra conference next week in San Fran?

2013-06-07 Thread Faraaz Sareshwala
I'll be attending and will try and meet up with you :). I see your posts often on this list -- would love to pick your brain and learn more about what you are using cassandra for and how it's working for you. I'm a software engineer at Quantcast and we're just beginning to use cassandra. So far i

Re: Populating seeds dynamically

2013-06-03 Thread Faraaz Sareshwala
All the documentation that I have read about cassanrda always says to keep the same list of seeds on every node in the cluster. Without this, you can end up with fragmentation within your cluster where nodes don't know about other nodes in the cluster. In your case, sure the nodes will be in the cl

Re: Creating namespace and column family from multiple nodes concurrently

2013-05-22 Thread Faraaz Sareshwala
Others on this list may know better, but it might not be good to have all your clients create a schema on initialization. They can all use it once it has been created, but creating it should be done by a single entity. One of the issues that can come up if you make changes to schemas at the same ti

Re: Unable to start Cassandra

2013-05-20 Thread Faraaz Sareshwala
omatic) > End-Date: 2013-05-20 11:48:41 > > I have two Java distros - one OpenJava and another Oracle 1.7, I did not set # > CASSANDRA_HOME env. var, may this helps. > > Regards, > > Arthur > > > > Original Message > From: Faraaz Sareshwala > To:

Re: Unable to start Cassandra

2013-05-20 Thread Faraaz Sareshwala
> Regards, > > Arthur > > > > Original Message > From: Faraaz Sareshwala > To: user > Sent: Mon, May 20, 2013 3:09 pm > Subject: Re: Unable to start Cassandra > > > The logs don't seem to be talking about memory issues -- it can

Re: Unable to start Cassandra

2013-05-20 Thread Faraaz Sareshwala
The logs don't seem to be talking about memory issues -- it can't find the log4j settings file in the correct location under where the CASSANDRA_HOME environment variable points to. I have packaged cassandra myself so I'm not entirely familiar with the pre-packaged installations. Try doing the fol

Re: CQL3 Question

2013-05-13 Thread Faraaz Sareshwala
This is also my first post here :). While CQL3 is recommended for new projects, Thrift isn't going anywhere. You don't necessarily need to use the binary protocol for CQL3 either. You can execute CQL3 queries through Thrift. As far as I know, the new binary protocol is still beta in 1.2. Faraaz