Re: Node added, no performance boost -- are the tokens correct?

2011-04-01 Thread Eric Gilmore
The DS docs go with should regarding setting the initial token to zero. It's not a must, but you get enough convenience out of never having to move tokens on that node that I'm not sure why you wouldn't do it. If anyone has a compelling reason not to do so, I'm happy to hear it :) On Fri, Apr 1,

Re: Node added, no performance boost -- are the tokens correct?

2011-03-31 Thread Eric Gilmore
A script that I have says the following: $ python ctokens.py How many nodes are in your cluster? 2 node 0: 0 node 1: 85070591730234615865843651857942052864 The first token should be zero, for the reasons discussed here:

Re: How to determine if repair need to be run

2011-03-31 Thread Eric Gilmore
Peter, I want to join everyone else thanking you for helping out so much with this thread, and especially for pointing out the problems with the DS docs on this topic. We have some corrections posted today, and will keep looking to improve the information. On Thu, Mar 31, 2011 at 3:11 PM, Peter

Re: Add node to balanced cluster?

2011-03-25 Thread Eric Gilmore
at a time. Cleanup may be safely postponed for low-usage hours. On Fri, Mar 25, 2011 at 10:39 AM, ruslan usifov ruslan.usi...@gmail.comwrote: 2011/3/25 Eric Gilmore e...@datastax.com Also: http://www.datastax.com/docs/0.7/operations/clustering#adding-capacity Can do that about i

Re: where to find the stress testing programs?

2011-03-16 Thread Eric Gilmore
There are both Python and Java stress testing tools. I found the Java version easier to use. These directions (which echo the README for stress.java) may help get you going: http://www.datastax.com/docs/0.7/utilities/stress_java On Tue, Mar 15, 2011 at 9:25 AM, Jeremy Hanna

Re: Installation

2011-03-07 Thread Eric Gilmore
The DataStax packaged releaseshttp://www.datastax.com/docs/0.7/configuration/packaged_releasesfollow standard practices for Linux-ish installation, so they might be a good model to follow. For instance, the RHEL/CentOS package installs the binaries (cassandra-cli, nodetool) in /usr/bin,

Re: cassandra-rack.properties or cassandra-topology.properties

2011-03-04 Thread Eric Gilmore
Apologies A. J. -- the reference to rack.properties is an error in the DataStax docs. We'll update it ASAP. On Thu, Mar 3, 2011 at 10:56 AM, A J s5a...@gmail.com wrote: Yes, that has topology and not rack. conf/access.properties conf/log4j-server.properties

Re: Seed Nodes

2011-03-01 Thread Eric Gilmore
Yes, two per DC is a recommendation I've heard from Jonathan Ellis. We put that in yet more documentation athttp://www.datastax.com/dev/tutorials/getting_started_0.7/configuring#seed-list(appreciate the citation Aaron :) I had a recent conversation with a Cassandra expert who had me convinced

Re: Multiple Seeds

2011-02-23 Thread Eric Gilmore
docs. Autobootstrap should be true, but with the important caveat that intial_token values should be specified. Have a look at those docs, and please give feedback on how helpful they are/aren't. Regards, Eric Gilmore On Wed, Feb 23, 2011 at 11:15 AM, jeremy.truel...@barclayscapital.comwrote

Re: Multiple Seeds

2011-02-23 Thread Eric Gilmore
the slave nodes correct? I didn't see this in the docs but I may have just missed it. From: Eric Gilmore [mailto:e...@datastax.com] Sent: Wednesday, February 23, 2011 2:24 PM To: user@cassandra.apache.org Subject: Re: Multiple Seeds The DataStax documentation offers some answers

Re: Error when bringing up 3rd node

2011-02-18 Thread Eric Gilmore
It sounds like one of your existing nodes already has the initial token zero. Did you set the intial token of the first node you brought online to zero? On Fri, Feb 18, 2011 at 12:35 PM, mcasandra mohitanch...@gmail.com wrote: I see following error. Is it because I have initial token defined?

Re: Error when bringing up 3rd node

2011-02-18 Thread Eric Gilmore
A Java program should work fine. The Wiki and the DataStax documentation use a python program for the same purpose: http://www.datastax.com/docs/0.7/operations/clustering#calculating-tokens On Fri, Feb 18, 2011 at 12:45 PM, mcasandra mohitanch...@gmail.com wrote: Yes I had set the first node

Re: Error when bringing up 3rd node

2011-02-18 Thread Eric Gilmore
I'm not sure I can say exactly why, but I'm sure those numbers can't be correct. One node should be zero and the other values should be very long numbers like 85070591730234615865843651857942052863. We need another Java expert's opinion here, but it looks like your snippet may have integer

Re: Internal error processing insert

2011-02-14 Thread Eric Gilmore
For now, I have committed a change in the misleading documentation, substituting SimpleStrategy for NTS. Sorry you ran into trouble due to that, mcasandra. On Mon, Feb 14, 2011 at 4:28 PM, Aaron Morton aa...@thelastpickle.comwrote: Will take a closer look at the code tonight, perhaps we should

Re: How does Bootstrapping work in 0.7 ??

2011-01-24 Thread Eric Gilmore
, don't worry, you'll be informed :-). Thanks again, Patrick On Thu, Jan 20, 2011 at 8:55 PM, Eric Gilmore e...@riptano.com wrote: Patrick, if you try adding capacity again from the beginning, I'd be curious to hear if the DataStax/Riptanohttp://www.datastax.com/docs/0.7/operations/clustering

Re: How does Bootstrapping work in 0.7 ??

2011-01-20 Thread Eric Gilmore
note that it may be best to set initial_token to 0 on the very first node that you start. Regards, Eric Gilmore On Thu, Jan 20, 2011 at 11:05 AM, Peter Schuller peter.schul...@infidyne.com wrote: Is it supposed to work that way, or have I missed something ? I don't see that you did anything

Re: How does Bootstrapping work in 0.7 ??

2011-01-20 Thread Eric Gilmore
a token number randomly, which can lead to hot spots in the ring. On Thu, Jan 20, 2011 at 12:59 PM, Brandon Williams dri...@gmail.com wrote: On Thu, Jan 20, 2011 at 2:14 PM, Robert Coli rc...@digg.com wrote: On Thu, Jan 20, 2011 at 11:55 AM, Eric Gilmore e...@riptano.com wrote: Also

Re: If one seed node crash, how can I add one seed node?

2010-12-07 Thread Eric Gilmore
, the source for professional Cassandra support http://riptano.com -- *Eric Gilmore * Consulting Technical Writer Riptano, Inc. Ph: 510 684 9786 (cell)