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 C02EB10F84 for ; Fri, 20 Sep 2013 17:32:10 +0000 (UTC) Received: (qmail 64739 invoked by uid 500); 20 Sep 2013 17:32:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 64419 invoked by uid 500); 20 Sep 2013 17:31:56 -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 64390 invoked by uid 99); 20 Sep 2013 17:31:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 17:31:55 +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 rcoli@eventbrite.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 17:31:50 +0000 Received: by mail-qc0-f169.google.com with SMTP id c9so469191qcz.28 for ; Fri, 20 Sep 2013 10:31:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=rnnXDA9S6tmviSIDKVlmbcuu97okKAZABH0OfrGJeqA=; b=lv3wE/+seVGxoH0pQo/GVYkD9IEkR5vr1kbW7JnsTpNYqkwz4aOvj45Y81M94dIvxO zg39IPwrtu7sJxO/cU+CUeaN1oJwHRgsXp6uK3cpfAYXCfaIAhL3FrQaRSBuuUew0F/O +k7exyDIKlCHodgtX9nDSuaSSBqgb+8xZzFS7lW+OjlqAZ7bWfjRHHSDNtdv2FX946VJ IQT5HsbJbN46XHhRRZjweu7xsPzgzlTxOFVQVh/i/8DjuwyhiO+LDXQfnC4Oa95em+oj UQag10fd8Ad77kPw9ZFctXxSa3GWvxYkYQ4jv3j/3cIQEhn7Ewn11z5+Flv1fULSQOyR /Ziw== X-Gm-Message-State: ALoCoQlgBIxYpFByR9KFz/hzzXpePmAa44E9YHaw5qMwrJ4m4tsUI+R7hODyUcoJ7TQ8bzzCXfmF MIME-Version: 1.0 X-Received: by 10.224.157.14 with SMTP id z14mr6845754qaw.90.1379698288772; Fri, 20 Sep 2013 10:31:28 -0700 (PDT) Received: by 10.49.67.70 with HTTP; Fri, 20 Sep 2013 10:31:28 -0700 (PDT) In-Reply-To: References: <45B81A29-6E63-471D-9C50-D0CC98ACA035@generalsentiment.com> Date: Fri, 20 Sep 2013 10:31:28 -0700 Message-ID: Subject: Re: Cassandra 1.2.9 cluster with vnodes is heavily unbalanced. From: Robert Coli To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=089e01494b9a665da404e6d40a8c X-Virus-Checked: Checked by ClamAV on apache.org --089e01494b9a665da404e6d40a8c Content-Type: text/plain; charset=ISO-8859-1 On Fri, Sep 20, 2013 at 9:24 AM, Jayadev Jayaraman wrote: > As a follow-up, is operating a Cassandra cluster with machines on multiple > racks and vnodes bound to cause load imbalance ? Shouldn't token-ranges > assigned to individual machines via their vnodes be approximately balanced > ? We're otherwise unable to explain why this imbalance occurs. ( it > shouldn't be the fault of the Murmur3 partitioner which guarantees a > uniform distribution of keys across token-ranges according to the doc. ) > https://issues.apache.org/jira/browse/CASSANDRA-4658 https://issues.apache.org/jira/browse/CASSANDRA-4123 tl;dr : Yes, vnodes makes the imbalance factor slightly greater, but in practice it "shouldn't" be significant. If you are experiencing significant imbalance, one or both of those tickets may be an appropriate forum to describe your experience. =Rob --089e01494b9a665da404e6d40a8c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Sep 20, 2013 at 9:24 AM, Jayadev Jayaraman <jdi= salive@gmail.com> wrote:
As a follow-up, is operating a Cassandra = cluster with machines on multiple racks and vnodes bound to cause load imba= lance ? Shouldn't token-ranges assigned to individual machines via thei= r vnodes be approximately balanced ? We're otherwise unable to explain = why this imbalance occurs. ( it shouldn't be the fault of the Murmur3 p= artitioner which guarantees a uniform distribution of keys across token-ran= ges according to the doc. )


tl;dr : Yes, vnodes makes the imbalance factor sl= ightly greater, but in practice it "shouldn't" be significant= .=A0

If you are experiencing significant imbalance= , one or both of those tickets may be an appropriate forum to describe your= experience.

=3DRob
=A0
--089e01494b9a665da404e6d40a8c--