get_slice failing if replication factor > running nodes

2011-08-12 Thread ian douglas
I'm testing a Cassandra 0.8.1 setup with SimpleCassie for PHP, and my get_slice is failing because when I created the keyspace I set it up like this: create keyspace armorgames with strategy_options=[{replication_factor:2}] and placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-10 Thread Ian Douglas
Ubuntu 11.04 On 8/9/2011 6:09 PM, Jonathan Ellis wrote: What OS was this? On Tue, Aug 9, 2011 at 6:32 PM, ian douglas wrote: Thanks to 'driftx' in IRC, adding this line to my cassandra.yaml file seems to have fixed the problem: disk_access_mode: standard On 08/09/2011 04:

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread ian douglas
Driftx on IRC: "follow up on the list saying that disabling mmap fixed it" On 08/09/2011 04:32 PM, ian douglas wrote: Thanks to 'driftx' in IRC, adding this line to my cassandra.yaml file seems to have fixed the problem: disk_access_mode: standard On 08/09/2011 0

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread ian douglas
Thanks to 'driftx' in IRC, adding this line to my cassandra.yaml file seems to have fixed the problem: disk_access_mode: standard On 08/09/2011 04:06 PM, ian douglas wrote: updated stack trace after fixing the corrupted GameSave2 tables: INFO 16:05:20,314 Logging initialize

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread ian douglas
updated stack trace after fixing the corrupted GameSave2 tables: INFO 16:05:20,314 Logging initialized INFO 16:05:20,330 Heap size: 6290407424/6291456000 INFO 16:05:20,336 JNA not found. Native methods will be disabled. INFO 16:05:20,344 Loading settings from file:/data/apache-cassandra-0.

migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread ian douglas
Hey all, Thanks to thobbs_ patience in IRC this morning, I got the last of my questions answered about migrating from v0.6 to v0.8. My cassandra.yaml is mostly stock out of the box other than IP's, ports (I'm running v0.6 on my workstation at the same time as v0.8), and our cluster name. I u

Re: Working backwards from production to staging/dev

2011-03-31 Thread ian douglas
Thanks Edward, Anyone able to provide some answers for the other questions? On 03/26/2011 07:25 AM, Edward Capriolo wrote: On Fri, Mar 25, 2011 at 2:11 PM, ian douglas wrote: On 03/25/2011 10:12 AM, Jonathan Ellis wrote: On Fri, Mar 25, 2011 at 11:59 AM, ian douglaswrote: (we&#x

Re: Working backwards from production to staging/dev

2011-03-25 Thread ian douglas
On 03/25/2011 10:12 AM, Jonathan Ellis wrote: On Fri, Mar 25, 2011 at 11:59 AM, ian douglas wrote: (we're running v0.60) I don't know if you could hear that from where you are, but our whole office just yelled, "WTF!" :) Ah, that's what that noise was... And yeah,

Re: Working backwards from production to staging/dev

2011-03-25 Thread ian douglas
atible between 32-bit and 64-bit systems) Thanks, Ian On 03/18/2011 11:56 AM, Jonathan Ellis wrote: That should work, but if you have the disk space it's a lot simpler to just copy all the data files from each machine to a target out of the cluster, then have the target run cleanup.

Working backwards from production to staging/dev

2011-03-18 Thread ian douglas
Hi everyone, I was on the mailing list back in December/January, asking questions about rebalancing some nodes, etc. We currently have a ring of 3 systems, redundancy set to 2, and all is well. We'd like to snapshot our ring and build a new development/staging node from it (the old dev node

Re: Are you using Phpcassa for any application currently in production? or considering so ?

2011-01-13 Thread ian douglas
We use SimpleCassie in production right now. http://code.google.com/p/simpletools-php/wiki/SimpleCassie On 01/13/2011 11:17 AM, Ertio Lew wrote: I need to choose one amongst several client options to work with Cassandra for a serious web application for production environments. I prefer to wor

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread ian douglas
Coli wrote: On Thu, Jan 6, 2011 at 10:50 AM, ian douglas wrote: Is there any way to determine via a "nodetool cfstats" (or similar) how many rows we have per column family to help answer your second question a little better? In 0.6, you can get an (inexact, but probably suffici

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread ian douglas
We're currently on 0.6.0 waiting for the full release of 0.7 before we upgrade. We have other Thrift/PHP code to update whenever we upgrade Cassandra, so we don't want to upgrade to a release candidate on our production system. We *did* have a problem with a column family setup where we had fe

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread ian douglas
Hi Peter, I posted row sizes (min/max/mean) of our largest data set in my original message, but had zero responses on the mailing list. The folks in IRC told me to wait it out, see if to rebalanced on its own (it didn't), or to run a repair on each node one at a time (didn't help), and that it

How can I correct this Cassandra load imbalance?

2011-01-03 Thread ian douglas
p' on one of the nodes (day of year % number of nodes). I'm happy to share any additional information that can help us balance things a little bit better. I had debated setting our ReplicationFactor to 3 to see if our nodes eventually copied data to every node. Cheers, Ian Douglas, Armor Games