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 6375F10BC6 for ; Thu, 19 Sep 2013 12:16:45 +0000 (UTC) Received: (qmail 72817 invoked by uid 500); 19 Sep 2013 12:16:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 72691 invoked by uid 500); 19 Sep 2013 12:16:41 -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 72683 invoked by uid 99); 19 Sep 2013 12:16:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 12:16:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of suruchi.deodhar@generalsentiment.com designates 209.85.128.45 as permitted sender) Received: from [209.85.128.45] (HELO mail-qe0-f45.google.com) (209.85.128.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 12:16:35 +0000 Received: by mail-qe0-f45.google.com with SMTP id 6so5621915qea.4 for ; Thu, 19 Sep 2013 05:16:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:from:subject :date:to; bh=Ws/VwYX+cteKwbUtjWZAR4u4ai7hhO+0VQCYOGfuMNQ=; b=Nz3m1CHM5SUqcxvpI/BifBaQGb4cyQm6TX3awjVd6D0Dxox1FWZIK/e/iGH0oihiYo 5Hnw6Bv1guFo0hZclj80+6LTwbaRFw+8ykRheHSEAJLgYdizkif2QqY26iW6BIvbDO// 6ABiSCwUmpsSvs/LM6hLSyMs4/Ciia5uqxq1DpOUdVpUjRare67lnvkTk+q23dCvbxTl qkJRzJdOtG+kczjFDeWfq1Tcz+jpKtqkjvKTUlf4cNwp/Es8WZInpaXcNwTlwCqtcr8l gbL3aLV6cCdpr2TJcPTWSGvjnHgFA7ejux3TymG8z+U+E+MEVBX4+dwh7mFgH5vnm/5a hzvg== X-Gm-Message-State: ALoCoQnsGprpGTfayi3kB2mHdCrKOrBJwnN2T+COHwuTbMt755D7D1kgFb5m37TiigPSXWjZjiez X-Received: by 10.49.30.227 with SMTP id v3mr2808965qeh.92.1379592975042; Thu, 19 Sep 2013 05:16:15 -0700 (PDT) Received: from [192.168.1.8] (pool-108-35-101-111.nwrknj.fios.verizon.net. [108.35.101.111]) by mx.google.com with ESMTPSA id k3sm11041159qaz.11.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Sep 2013 05:16:13 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: 7bit Content-Type: multipart/alternative; boundary=Apple-Mail-E3C4BCED-B47B-4144-8FBF-EA8252C18290 Message-Id: <45B81A29-6E63-471D-9C50-D0CC98ACA035@generalsentiment.com> Cc: "user@cassandra.apache.org" X-Mailer: iPhone Mail (10B329) From: Suruchi Deodhar Subject: Re: Cassandra 1.2.9 cluster with vnodes is heavily unbalanced. Date: Thu, 19 Sep 2013 08:16:10 -0400 To: "user@cassandra.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-E3C4BCED-B47B-4144-8FBF-EA8252C18290 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi Richard,=20 This is a brand new cluster which started with num_tokens =3D256 on first bo= ot and chose random tokens. The attached ring status is after data is loaded= into the cluster for the first time using sdtableloader and remains that wa= y even after Cassandra is restarted. Thanks, Suruchi On Sep 19, 2013, at 3:46, Richard Low wrote: > On 19 September 2013 02:06, Jayadev Jayaraman wrote:= >=20 >> We use vnodes with num_tokens =3D 256 ( 256 tokens per node ) . After loa= ding some data with sstableloader , we find that the cluster is heavily imba= lanced :=20 >=20 > How did you select the tokens? Is this a brand new cluster which started o= n first boot with num_tokens =3D 256 and chose random tokens? Or did you st= art with num_tokens =3D 1 and then increase it? >=20 > Richard. --Apple-Mail-E3C4BCED-B47B-4144-8FBF-EA8252C18290 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi Richard, 
This is a brand new cluster which st= arted with num_tokens =3D256 on first boot and chose random tokens. The atta= ched ring status is after data is loaded into the cluster for the first time= using sdtableloader and remains that way even after Cassandra is restarted.=

Thanks,
Suruchi

On Sep 19,= 2013, at 3:46, Richard Low <richa= rd@wentnet.com> wrote:

On 19 September 2013 02:06, Jayadev Jayaraman <jdisalive@gm= ail.com> wrote:

We use vnodes with num_t= okens =3D 256 ( 256 tokens per node ) . After loading some data with sstable= loader , we find that the cluster is heavily imbalanced : 

How did you select the tokens?  = Is this a brand new cluster which started on first boot with num_tokens =3D 2= 56 and chose random tokens?  Or did you start with num_tokens =3D 1 and= then increase it?

Richard.
= --Apple-Mail-E3C4BCED-B47B-4144-8FBF-EA8252C18290--