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

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 S

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: http://www.datastax.com/dev/tutorials/getting_started_0_7/configuring#initial

Re: Add node to balanced cluster?

2011-03-25 Thread Eric Gilmore
command at a time. Cleanup may be safely postponed for low-usage hours. On Fri, Mar 25, 2011 at 10:39 AM, ruslan usifov wrote: > > > 2011/3/25 Eric Gilmore > >> Also: >> http://www.datastax.com/docs/0.7/operations/clustering#adding-capacity >> >> Can do t

Re: Add node to balanced cluster?

2011-03-24 Thread Eric Gilmore
Also: http://www.datastax.com/docs/0.7/operations/clustering#adding-capacity On Thu, Mar 24, 2011 at 5:20 PM, Jonathan Ellis wrote: > http://wiki.apache.org/cassandra/Operations > > On Thu, Mar 24, 2011 at 5:15 PM, ruslan usifov > wrote: > > Hello > > > > Which strategy should i use to and new

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 wrote: > contrib is

Re: Installation

2011-03-07 Thread Eric Gilmore
The DataStax 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, configura

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 wrote: > Yes, that has topology and not rack. > > conf/access.properties conf/log4j-server.properties > conf/cassandra-env.sh

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 tha

Re: Multiple Seeds

2011-02-23 Thread Eric Gilmore
d should have it set to true as > > well as all 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 >

Re: Multiple Seeds

2011-02-23 Thread Eric Gilmore
-capacity>reference 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, wrote: > Wh

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 overf

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 wrote: > > Yes I had set the first node to token 0. I think

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 wrote: > > I see following error. Is it because I have initial token defined? What > token > shoul

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 wrote: > Will take a closer look at the code tonight, perhaps we should return an > error if y

Re: How does Bootstrapping work in 0.7 ??

2011-01-24 Thread Eric Gilmore
umb too...) > > But even with these "flaws", your documentation is the best I have read. > And if I have other issues, don't worry, you'll be informed :-). > > Thanks again, > > Patrick > > > On Thu, Jan 20, 2011 at 8:55 PM, Eric Gilmore wrote: >

Re: How does Bootstrapping work in 0.7 ??

2011-01-20 Thread Eric Gilmore
Cassandra picks a token number randomly, which can lead to hot spots in the ring. On Thu, Jan 20, 2011 at 12:59 PM, Brandon Williams wrote: > On Thu, Jan 20, 2011 at 2:14 PM, Robert Coli wrote: > >> On Thu, Jan 20, 2011 at 11:55 AM, Eric Gilmore wrote: >> > Also, in the G

Re: How does Bootstrapping work in 0.7 ??

2011-01-20 Thread Eric Gilmore
_started/index>, we 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 ?

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

2010-12-07 Thread Eric Gilmore
t;>>> set it as a seed _after_ bootstrapping it into the cluster. >>>>>>> >>>>>>> >>>>>>> On Mon, Dec 6, 2010 at t5:01 AM, lei liu >>>>>>> wrote: >>>>>>> > After one seed node crash, I want to add one node as seed node, I >>>>>>> set >>>>>>> > auto_bootstrap to true, but the new node don't migrate data from >>>>>>> other >>>>>>> > node s. >>>>>>> > >>>>>>> > How can I add one new seed node and let the node to migrate data >>>>>>> from other >>>>>>> > nodes? >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > Thanks, >>>>>>> > >>>>>>> > LiuLei >>>>>>> > >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Jonathan Ellis >>>>>>> Project Chair, Apache Cassandra >>>>>>> co-founder of Riptano, the source for professional Cassandra support >>>>>>> http://riptano.com >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>> >> > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com > -- *Eric Gilmore * Consulting Technical Writer Riptano, Inc. Ph: 510 684 9786 (cell)

Re: Cassandra won't start Java Issue Snow Leopard

2010-11-24 Thread Eric Gilmore
For what it's worth, I had similar errors on a Windows 7 laptop with 0.7.0 beta 3.  Thought something must be wrong with my classpath, but an installation of 0.6.8 worked fine. --- On Wed, 11/24/10, Jeremy Hanna wrote: From: Jeremy Hanna Subject: Re: Cassandra won't start Java Issue Snow Leop