Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 33896 invoked from network); 25 Mar 2011 00:21:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Mar 2011 00:21:25 -0000 Received: (qmail 83839 invoked by uid 500); 25 Mar 2011 00:21:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 83800 invoked by uid 500); 25 Mar 2011 00:21:23 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 83792 invoked by uid 99); 25 Mar 2011 00:21:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2011 00:21:23 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2011 00:21:18 +0000 Received: by vws12 with SMTP id 12so480980vws.31 for ; Thu, 24 Mar 2011 17:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=IrX9Q7ZnXXJuPe9X3pjFYPOh6rj/bCne+u6XzEIP3+I=; b=I/1xmEGlid8n0OmHzdBLoA7VpELSJEWKU15blu+tUp/y9vz0kB2fTm8MvpGorNyHRn 9Uue8mDB8Y1lF5NqqDxFblHTyQPwKpi+g5lfGoJEhXqd/PXQAEntU9o4wFJMkHFvnNUf qRFrX03hklo1kg5/evVhJuGMv0XVullABq4Uk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=Ov+6LrqhbyFiPSZVpJ4NpOToVFcPfid2Rnu6UHpaqH+aVzhxG26WZcVDvt0J+DaO2V W/8K6DK8apjGL3rN3vYg3x7nxzv9T4ir9ZeL7TKW/PeiJzNfhzLF1zMU8w9gHx1X9o/M BIjS/+gs+1fciwHkuxbswMYQjt9pBpZJ5j5gk= Received: by 10.52.99.135 with SMTP id eq7mr182155vdb.100.1301012458090; Thu, 24 Mar 2011 17:20:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.169.228 with HTTP; Thu, 24 Mar 2011 17:20:38 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Thu, 24 Mar 2011 19:20:38 -0500 Message-ID: Subject: Re: Add node to balanced cluster? To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable http://wiki.apache.org/cassandra/Operations On Thu, Mar 24, 2011 at 5:15 PM, ruslan usifov wr= ote: > Hello > > Which strategy should i use to and new node to fully balanced cluster (no= des > tokens are generated by python script: > > def tokens(nodes): > =A0 for x in xrange(nodes): > =A0=A0=A0 print 2 ** 127 / nodes * x > > tokens(3); > ) > > How to get balanced cluster after adding ne node without big stress for > current cluster? > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com