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 7DD8E1189F for ; Tue, 5 Aug 2014 15:20:11 +0000 (UTC) Received: (qmail 36745 invoked by uid 500); 5 Aug 2014 15:20:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 36468 invoked by uid 500); 5 Aug 2014 15:20:07 -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 36360 invoked by uid 99); 5 Aug 2014 15:20:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 15:20:07 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.93.158.29] (HELO thsbbfxrt02p.thalesgroup.com) (192.93.158.29) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 15:19:59 +0000 Received: from thsbbfxrt02p.thalesgroup.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 3hSKQ15ScHz3Bb for ; Tue, 5 Aug 2014 17:19:37 +0200 (CEST) X-Thales-IRT1: IRT11 From: DE VITO Dominique To: "user@cassandra.apache.org" Date: Tue, 5 Aug 2014 17:19:35 +0200 Subject: vnode and NetworkTopologyStrategy: not playing well together ? Thread-Topic: vnode and NetworkTopologyStrategy: not playing well together ? Thread-Index: Ac+wwKpxDvAsGOtCSJeQHr5jW2NoDQ== Message-ID: <10442_1407251977_53E0F609_10442_7816_1_9C88BF562A27AA41B242B2780441926E212E5F70AC@THSONEA01CMS05P.one.grp> Accept-Language: fr-FR Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR x-pmwin-version: 3.1.3.0, Antivirus-Engine: 3.50.1, Antivirus-Data: 5.01G Content-Type: multipart/alternative; boundary="_000_9C88BF562A27AA41B242B2780441926E212E5F70ACTHSONEA01CMS0_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_9C88BF562A27AA41B242B2780441926E212E5F70ACTHSONEA01CMS0_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, My understanding is that NetworkTopologyStrategy does NOT play well with vn= odes, due to: * Vnode =3D> tokens are (usually) randomly generated (AFAIK) * NetworkTopologyStrategy =3D> required carefully choosen tokens fo= r all nodes in order to not to get a VERY unbalanced ring like in https://i= ssues.apache.org/jira/browse/CASSANDRA-3810 When playing with vnodes, is the recommendation to define one rack for the = entire cluster ? Thanks. Regards, Dominique --_000_9C88BF562A27AA41B242B2780441926E212E5F70ACTHSONEA01CMS0_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

My underst= anding is that NetworkTopologyStrategy does NOT play well with vnodes, due = to:

·         Vnode =3D> tokens are (usual= ly) randomly generated (AFAIK)

·     &n= bsp;   Netw= orkTopologyStrategy =3D> required carefully choosen tokens for all nodes= in order to not to get a VERY unbalanced ring like in https://issues.apache.org/jira= /browse/CASSANDRA-3810

 <= /o:p>

When playing with vnodes, is the recommendati= on to define one rack for the entire cluster ?

 

Thanks.

 

Regards,

Dominique

 

 

<= /html>= --_000_9C88BF562A27AA41B242B2780441926E212E5F70ACTHSONEA01CMS0_--