Re: Disk configuration in new cluster node

2012-09-18 Thread Casey Deccio
On Tue, Sep 18, 2012 at 1:54 AM, aaron morton wrote: > each with several disks having large capacity, totaling 10 - 12 TB. Is > this (another) bad idea? > > Yes. Very bad. > If you had 6TB on average system with spinning disks you would measure > duration of repairs and compactions in days. > > I

Re: Disk configuration in new cluster node

2012-09-17 Thread Casey Deccio
On Mon, Sep 17, 2012 at 1:19 AM, aaron morton wrote: > 4 drives for data and 1 drive for commitlog, > > How are you configuring the drives ? It's normally best to present one big > data volume, e.g. using raid 0, and put the commit log on say the system > mirror. > > Given the advice to use a sin

Disk configuration in new cluster node

2012-09-14 Thread Casey Deccio
I'm building a new "cluster" (to replace the broken setup I've written about in previous posts) that will consist of only two nodes. I understand that I'll be sacrificing high availability of writes if one of the nodes goes down, and I'm okay with that. I'm more interested in maintaining high con

Re: adding node to cluster

2012-08-30 Thread Casey Deccio
On Thu, Aug 30, 2012 at 11:21 AM, Rob Coli wrote: > On Thu, Aug 30, 2012 at 10:18 AM, Casey Deccio wrote: > > I'm adding a new node to an existing cluster that uses > > ByteOrderedPartitioner. The documentation says that if I don't > configure a > > tok

adding node to cluster

2012-08-30 Thread Casey Deccio
All, I'm adding a new node to an existing cluster that uses ByteOrderedPartitioner. The documentation says that if I don't configure a token, then one will be automatically generated to take load from an existing node. What I'm finding is that when I add a new node, (super) column lookups begin

Re: cassandra upgrade to 1.1 - migration problem

2012-05-15 Thread Casey Deccio
On Tue, May 15, 2012 at 5:41 PM, Dave Brosius wrote: > The replication factor for a keyspace is stored in the > system.schema_keyspaces column family. > > Since you can't view this with cli as the server won't start, the only way > to look at it, that i know of is to use the > > sstable2json tool

Re: cassandra upgrade to 1.1 - migration problem

2012-05-15 Thread Casey Deccio
Sorry to reply to my own message (again). I took a closer look at the logs and realized that the partitioner errors aren't what kept the daemon to stop; those errors are in the logs even before I upgraded. This one seems to be the culprit. java.lang.reflect.InvocationTargetException at s

Re: cassandra upgrade to 1.1 - migration problem

2012-05-15 Thread Casey Deccio
> Did you check cassandra.yaml to make sure partitioner there matches what > was in your old cluster ? > > Regards, > Oleg Dulin > Please note my new office #: 732-917-0159 > > On May 15, 2012, at 3:22 PM, Casey Deccio wrote: > > Here's something new in the logs: &g

Re: cassandra upgrade to 1.1 - migration problem

2012-05-15 Thread Casey Deccio
at java.lang.Thread.run(Thread.java:662) Casey On Tue, May 15, 2012 at 12:08 PM, Casey Deccio wrote: > I recently upgraded from cassandra 1.0.10 to 1.1. Everything worked fine > in one environment, but after I upgraded in another, I can't find my > keyspace. When I run, e.g., cass

cassandra upgrade to 1.1 - migration problem

2012-05-15 Thread Casey Deccio
I recently upgraded from cassandra 1.0.10 to 1.1. Everything worked fine in one environment, but after I upgraded in another, I can't find my keyspace. When I run, e.g., cassandra-cli with 'use KeySpace;' It tells me that the keyspace doesn't exist. In the log I see this: ERROR [MigrationStage:

Re: can't find rows

2012-03-01 Thread Casey Deccio
On Thu, Mar 1, 2012 at 9:33 AM, aaron morton wrote: > What RF were you using and had you been running repair regularly ? > > RF 1 *sigh*. Waiting until I have more/better resources to use RF > 1. Hopefully soon. In the mean time... Oddly (to me), when I removed the most recently added node, all

Re: NullPointerException on upgradesstables

2012-03-01 Thread Casey Deccio
On Thu, Mar 1, 2012 at 2:39 AM, aaron morton wrote: > I am guessing you are running low on disk space. Can you check and try to > free some up ? > > Okay, I've freed some up and am trying again. > Looks like a bug in CompactionTask.execute() see > https://issues.apache.org/jira/browse/CASSANDRA-

Re: can't find rows

2012-02-29 Thread Casey Deccio
On Wed, Feb 29, 2012 at 5:29 AM, Casey Deccio wrote: > On Wed, Feb 29, 2012 at 5:25 AM, Casey Deccio wrote: > >> I recently had to do some shuffling with one of my cassandra nodes >> because it was running out of disk space. I did a few things in the >> process, and

NullPointerException on upgradesstables

2012-02-29 Thread Casey Deccio
Using cassandra 1.0.7, I got the following, as I was trying to rebuild my sstables: $ nodetool -h localhost upgradesstables Error occured while upgrading the sstables for keyspace MyKeySpace java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.Fut

Re: can't find rows

2012-02-29 Thread Casey Deccio
On Wed, Feb 29, 2012 at 5:25 AM, Casey Deccio wrote: > I recently had to do some shuffling with one of my cassandra nodes because > it was running out of disk space. I did a few things in the process, and > I'm not sure in the end which caused my problem. First I added a second

can't find rows

2012-02-29 Thread Casey Deccio
I recently had to do some shuffling with one of my cassandra nodes because it was running out of disk space. I did a few things in the process, and I'm not sure in the end which caused my problem. First I added a second file path to the data directory in cassandra.yaml. Things still worked fine

Re: node stuck "leaving"

2011-07-12 Thread Casey Deccio
On Tue, Jul 12, 2011 at 10:10 AM, Brandon Williams wrote: > On Mon, Jul 11, 2011 at 11:51 PM, Casey Deccio wrote: > > java.lang.RuntimeException: Cannot recover SSTable with version f > (current > > version g). > > You need to scrub before any streaming is performed. >

Re: node stuck "leaving"

2011-07-11 Thread Casey Deccio
On Sat, Jul 9, 2011 at 4:47 PM, aaron morton wrote: > Check the log on all the machines for ERROR messages. An error on any of > the nodes could have caused the streaming to hang. nodetool netstats will > let you know if there is a failed stream. > > Here's what I see in the logs on the node I'm s

node stuck "leaving"

2011-07-08 Thread Casey Deccio
I've got a node that is stuck "Leaving" the ring. Running "nodetool decommission" never terminates. It's been in this state for about a week, and the load has not decreased: $ nodetool -h localhost ring Address DC RackStatus State Load OwnsToken Token(bytes[de4075

Re: change node IP address

2011-03-23 Thread Casey Deccio
t; node and bring it back up with the new IP and It Just Works > https://issues.apache.org/jira/browse/CASSANDRA-872 > > I've not done it before, anyone else ? > > Aaron > > On 23 Mar 2011, at 07:53, Casey Deccio wrote: > > What is the process of changing the IP address for a node in a cluster? > > Casey > > >

change node IP address

2011-03-22 Thread Casey Deccio
What is the process of changing the IP address for a node in a cluster? Casey

Re: Reducing memory footprint

2011-03-09 Thread Casey Deccio
On Sat, Mar 5, 2011 at 7:37 PM, aaron morton wrote: > There is some additional memory usage in the JVM beyond that Heap size, in > the permanent generation. 900mb sounds like too much for that, but you can > check by connecting with JConsole and looking at the memory tab. You can > also check the

Re: Reducing memory footprint

2011-03-04 Thread Casey Deccio
On Fri, Mar 4, 2011 at 11:03 AM, Chris Burroughs wrote: > What do you mean by "eating up the memory"? Resident set size, low > memory available to page cache, excessive gc of the jvm's heap? > > jvm's heap is set for half of the physical memory (1982 MB out of 4G), and jsvc is using 2.9G (73%) of

Reducing memory footprint

2011-03-04 Thread Casey Deccio
I have a small ring of cassandra nodes that have somewhat limited memory capacity for the moment. Cassandra is eating up all the memory on these nodes. I'm not sure where to look first in terms of reducing the foot print. Keys cached? Compaction? Any hints would be greatly appreciated. Regard

Re: NegativeArraySizeException with 0.7.2

2011-02-16 Thread Casey Deccio
On Wed, Feb 16, 2011 at 10:01 PM, Nate McCall wrote: > See the following mail thread: > http://www.mail-archive.com/user@cassandra.apache.org/msg10183.html > > In short, running nodetool compact should clear it up. > > Thanks for the pointer! I ran nodetool compact on my nodes, and so far it's l

NegativeArraySizeException with 0.7.2

2011-02-16 Thread Casey Deccio
I recently upgraded to 0.7.2 from 0.7.0, and now when I run my multi-threaded app (using python/pycassa/thrift) I'm getting the following NegativeArraySizeException. The traceback is below: ERROR 21:08:33,187 Fatal exception in thread Thread[ReadStage:219,5,main] java.lang.RuntimeException: java.

Re: Rows in decreasing order

2010-11-15 Thread Casey Deccio
On Sun, Nov 14, 2010 at 12:50 AM, Jonathan Ellis wrote: > As you may have guessed from the lack of a "reversed" option on the > range slice api, backward scans are not supported.  The standard thing > to do is load the keys you are interested in as columns to a row. > That makes sense. Just need

Rows in decreasing order

2010-11-13 Thread Casey Deccio
Hi, I'm working with Cassandra 0.7.0-beta3. Given rows with keys 1, 2, 3, I'd like to be able to search on key 4 (non-existent) and get row 3 (and possibly the n rows before in a range). I've tried several options, but I keep getting an empty range. What am I missing? Thanks, Casey