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 805D2D26B for ; Mon, 1 Oct 2012 14:04:14 +0000 (UTC) Received: (qmail 24061 invoked by uid 500); 1 Oct 2012 14:04:11 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 24019 invoked by uid 500); 1 Oct 2012 14:04:11 -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 24010 invoked by uid 99); 1 Oct 2012 14:04:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 14:04:11 +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 (nike.apache.org: domain of darvin.denmian@gmail.com designates 209.85.215.44 as permitted sender) Received: from [209.85.215.44] (HELO mail-la0-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 14:04:04 +0000 Received: by lamb11 with SMTP id b11so2041468lam.31 for ; Mon, 01 Oct 2012 07:03:44 -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=vEAEM53WjMOfeK4pX1B9fmRt42PM/2+W5lK2LJ2XRSk=; b=VtCDu0RK8OfVdyJtB6dx96YmyOYO6R+VY5h/MhTDoAOa9qrRkNvHJFX2CEnHhGEH3P 2jxUSL6zgr7yPDDD5fM0/okeXOTBUz00X5aa4mcESh9ihNLJpxpVLCbgoZudLNMHCtkd XzgXHw1Q0P1We8g4Du7pxkZNPQtpBM3FrX7tWog7SemqUDmYjzY69Z+MMwHE6KTiu6rE CPwc1LZ/UwrtVj6d/HlS758KS38cZWCm50XhMgC85UZPRZqjT/Cj/aDH82FiHKu+jarH TNUbL1walw1Qiudwi5iVrciyQxsElEAsYV/wqVo4KH64T8m5kxN+w6nCF0QeDp+y8Dlg XO5g== Received: by 10.112.31.168 with SMTP id b8mr5371964lbi.23.1349100224235; Mon, 01 Oct 2012 07:03:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.120.73 with HTTP; Mon, 1 Oct 2012 07:03:23 -0700 (PDT) In-Reply-To: References: From: Darvin Denmian Date: Mon, 1 Oct 2012 11:03:23 -0300 Message-ID: Subject: Re: Rebalancing cluster To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 When I execute the command "nodetool ring" the following output appears: Address DC Rack Status State Load Effective-Ownership Token 159774252176126302045611947652425555499 10.36.214.118 datacenter1 rack1 Up Normal 16.62 GB 54.36% 82119805777845627277766502152998847873 10.36.214.66 datacenter1 rack1 Up Normal 6.44 GB 7.95% 95648023217342394827789894311936282285 10.36.214.122 datacenter1 rack1 Up Normal 10.85 GB 37.69% 159774252176126302045611947652425555499 as you can see there is no "Zero Token". Maybe I did something wrong. Will I need to "reset" my entire cluster? Regards. On Mon, Oct 1, 2012 at 10:18 AM, Hiller, Dean wrote: > > You should check the cassandra.yaml file. There is an initial_token in that file that you should have set. The comment above that property reads > > # You should always specify InitialToken when setting up a production > # cluster for the first time, and often when adding capacity later. > # The principle is that each node should be given an equal slice of > # the token ring; see http://wiki.apache.org/cassandra/Operations > # for more details. > # > # If blank, Cassandra will request a token bisecting the range of > # the heaviest-loaded existing node. If there is no load information > # available, such as is the case with a new cluster, it will pick > # a random token, which will lead to hot spots. > > Naturally, he is referring to that link when he says manual ;) AND notice the "which will lead to hot spots" comment. > > Later, > Dean > > From: Darvin Denmian > > Reply-To: "user@cassandra.apache.org" > > Date: Monday, October 1, 2012 6:56 AM > To: "user@cassandra.apache.org" > > Subject: Re: Rebalancing cluster > > Did you set up the tokens the way > the manual says?