From user-return-20497-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Sep 5 08:13:39 2011 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 874088815 for ; Mon, 5 Sep 2011 08:13:39 +0000 (UTC) Received: (qmail 36265 invoked by uid 500); 5 Sep 2011 08:13:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 35858 invoked by uid 500); 5 Sep 2011 08:13:13 -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 35830 invoked by uid 99); 5 Sep 2011 08:13:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 08:13:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sylvain@datastax.com designates 74.125.83.44 as permitted sender) Received: from [74.125.83.44] (HELO mail-gw0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 08:12:57 +0000 Received: by gwb20 with SMTP id 20so3185229gwb.31 for ; Mon, 05 Sep 2011 01:12:36 -0700 (PDT) Received: by 10.236.77.195 with SMTP id d43mr16789167yhe.22.1315210356048; Mon, 05 Sep 2011 01:12:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.108.52 with HTTP; Mon, 5 Sep 2011 01:12:16 -0700 (PDT) X-Originating-IP: [88.183.33.171] In-Reply-To: References: From: Sylvain Lebresne Date: Mon, 5 Sep 2011 10:12:16 +0200 Message-ID: Subject: Re: load balance issue To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Have you done step 6 of the 'To add nodes to a Cassandra cluster' of http://www.datastax.com/docs/0.8/operations/clustering#adding-capacity, aka, run nodetool cleanup on the previously existing nodes ? -- Sylvain On Sun, Sep 4, 2011 at 11:58 AM, amulya rattan wrot= e: > Hi there, > I had a 3 nodes ring, added a 4th one, =A0and moved others to appropriate > tokens..doing nodetool ring shows: > 127.0.0.1 =A0 =A0 =A0 datacenter1 rack1 =A0 =A0 =A0 Up =A0 =A0 Normal =A0= 348.82 MB > 25.00% =A00 > 127.0.0.2 =A0 =A0 =A0 datacenter1 rack1 =A0 =A0 =A0 Up =A0 =A0 Normal =A0= 349.81 MB > 25.00% =A042535295865117307932921825928971026432 > 127.0.0.3 =A0 =A0 =A0 datacenter1 rack1 =A0 =A0 =A0 Up =A0 =A0 Normal =A0= 437.04 MB > 25.00%=A0=A085070591730234615865843651857942052864 > 127.0.0.4 =A0 =A0 =A0 datacenter1 rack1 =A0 =A0 =A0 Up =A0 =A0 Normal =A0= 261.74 MB > 25.00%=A0=A0127605887595351923798765477786913079296 > Although it shows 25% on all nodes, the data distribution seems totally > unbalanced, how did that happen? > Also if I happen to have a thousand node cluster, and add another 100 nod= es, > is it ok to start moving all nodes to their respective new tokens > simultaneously or one-by-one? > Any response is appreciated. > ~Amulya