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 9CDAF10DDF for ; Wed, 14 Aug 2013 19:09:15 +0000 (UTC) Received: (qmail 92231 invoked by uid 500); 14 Aug 2013 19:09:11 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 92182 invoked by uid 500); 14 Aug 2013 19:09:08 -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 91995 invoked by uid 99); 14 Aug 2013 19:09:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 19:09:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kohlisankalp@gmail.com designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-qa0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 19:09:03 +0000 Received: by mail-qa0-f47.google.com with SMTP id o19so1234253qap.6 for ; Wed, 14 Aug 2013 12:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=YtNatl+PZm1KUGPU22jccliY/1+w5E121jpNnI0wme8=; b=QSYuTsp8joFqOVi/aggb2k2M8uFSE3TsKfng2dRecEzRB3jpZsEYiD490a6VFh10Ph BuWMRD0WnyTjjMmTwewIXUFKbtO9bWodtRyKwhJH6DiTM3kyLIZR9HPUrPYnTqw5zRcc m/i7SpixeVk65O+4aI3jynAI/zf+IyN5qLReszbBC+Fwmno98KI4rHRrSwaO7obq4WS9 BqPRoGfbk3NYulFPVUq3KeTMadb9zEkA7LVUFH+micS+KU8hR3YlZNjzXZhCCa04de+s lr3KYJVnfZ6nyk+oze168t0qyXUq4w9DCU6nH4IsQV5P9YKJHCXYE7Al73Vy5jizq1bY 06XA== X-Received: by 10.49.25.167 with SMTP id d7mr13580631qeg.35.1376507322280; Wed, 14 Aug 2013 12:08:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.131.229 with HTTP; Wed, 14 Aug 2013 12:08:02 -0700 (PDT) In-Reply-To: References: From: sankalp kohli Date: Wed, 14 Aug 2013 12:08:02 -0700 Message-ID: Subject: Re: Vnodes, adding a node ? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b6d9fc8faa91704e3ed15a6 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6d9fc8faa91704e3ed15a6 Content-Type: text/plain; charset=ISO-8859-1 What steps did you follow to add the 3 node? On Wed, Aug 14, 2013 at 12:02 PM, Andrew Cobley wrote: > I have small test cluster of 2 nodes. I ran a stress test on it and with > nodetool status received the following: > > /usr/local/bin/apache-cassandra-2.0.0-rc1/log $ ../bin/nodetool status > Datacenter: datacenter1 > ======================= > Status=Up/Down > |/ State=Normal/Leaving/Joining/Moving > -- Address Load Tokens Owns (effective) Host ID > Rack > UN 192.168.0.11 141.13 MB 256 49.2% > 4d281e2e-efd9-4abf-bb70-ebdf8e2b4fc3 rack1 > UN 192.168.0.10 145.59 MB 256 50.8% > 7fc5795a-bd1b-4e42-88d6-024c5216a893 rack1 > > I then added a third node with no machines writing to the system. Using > nodetool status I got the following: > > /usr/local/bin/apache-cassandra-2.0.0-rc1/log $ ../bin/nodetool status > Datacenter: datacenter1 > ======================= > Status=Up/Down > |/ State=Normal/Leaving/Joining/Moving > -- Address Load Tokens Owns (effective) Host ID > Rack > UN 192.168.0.11 141.12 MB 256 32.2% > 4d281e2e-efd9-4abf-bb70-ebdf8e2b4fc3 rack1 > UN 192.168.0.10 145.59 MB 256 35.3% > 7fc5795a-bd1b-4e42-88d6-024c5216a893 rack1 > UN 192.168.0.12 111.9 KB 256 32.5% > e5e6d8bd-c652-4c18-8fa3-3d71471eee65 rack1 > > Is this correct ? I was under the impression that adding a node to an > existing cluster would distribute the load around the cluster. Am I perhaps > missing a step or have a config error perhaps ? > > > Ta > Andy > > > The University of Dundee is a registered Scottish Charity, No: SC015096 > > --047d7b6d9fc8faa91704e3ed15a6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
What steps did you follow to add the 3 node?


On Wed, Aug 14, 2013 = at 12:02 PM, Andrew Cobley <a.e.cobley@dundee.ac.uk> w= rote:
I have =A0small test cluster of 2 nodes. =A0= I ran a stress test on it and with nodetool status received the following:<= br>
/usr/local/bin/apache-cassandra-2.0.0-rc1/log $ ../bin/nodetool status
Datacenter: datacenter1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Status=3DUp/Down
|/ State=3DNormal/Leaving/Joining/Moving
-- =A0Address =A0 =A0 =A0 Load =A0 =A0 =A0 Tokens =A0Owns (effective) =A0Ho= st ID =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Rack
UN =A0192.168.0.11 =A0141.13 MB =A0256 =A0 =A0 49.2% =A0 =A0 =A0 =A0 =A0 = =A0 4d281e2e-efd9-4abf-bb70-ebdf8e2b4fc3 =A0rack1
UN =A0192.168.0.10 =A0145.59 MB =A0256 =A0 =A0 50.8% =A0 =A0 =A0 =A0 =A0 = =A0 7fc5795a-bd1b-4e42-88d6-024c5216a893 =A0rack1

I then added a third node with no machines writing to the system. =A0Using = nodetool status I got the following:

/usr/local/bin/apache-cassandra-2.0.0-rc1/log $ ../bin/nodetool status
Datacenter: datacenter1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Status=3DUp/Down
|/ State=3DNormal/Leaving/Joining/Moving
-- =A0Address =A0 =A0 =A0 Load =A0 =A0 =A0 Tokens =A0Owns (effective) =A0Ho= st ID =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Rack
UN =A0192.168.0.11 =A0141.12 MB =A0256 =A0 =A0 32.2% =A0 =A0 =A0 =A0 =A0 = =A0 4d281e2e-efd9-4abf-bb70-ebdf8e2b4fc3 =A0rack1
UN =A0192.168.0.10 =A0145.59 MB =A0256 =A0 =A0 35.3% =A0 =A0 =A0 =A0 =A0 = =A0 7fc5795a-bd1b-4e42-88d6-024c5216a893 =A0rack1
UN =A0192.168.0.12 =A0111.9 KB =A0 256 =A0 =A0 32.5% =A0 =A0 =A0 =A0 =A0 = =A0 e5e6d8bd-c652-4c18-8fa3-3d71471eee65 =A0rack1

Is this correct ? =A0I was under the impression that adding a node to an ex= isting cluster would distribute the load around the cluster. Am I perhaps m= issing a step or have a config error perhaps ?


Ta
Andy


The University of Dundee is a registered Scottish Charity, No: SC015096


--047d7b6d9fc8faa91704e3ed15a6--