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 CA96D11248 for ; Wed, 4 Jun 2014 12:42:42 +0000 (UTC) Received: (qmail 8158 invoked by uid 500); 4 Jun 2014 12:42:40 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 8125 invoked by uid 500); 4 Jun 2014 12:42:40 -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 8116 invoked by uid 99); 4 Jun 2014 12:42:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 12:42:40 +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 (nike.apache.org: domain of vasileiosvlachos@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-wg0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 12:42:36 +0000 Received: by mail-wg0-f43.google.com with SMTP id l18so8201744wgh.26 for ; Wed, 04 Jun 2014 05:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WYxT9jAsVqkRxcVMcSd+mAX7ZmC+y6Nvcx6dNsO7F1Y=; b=eE5FDIvAKR3y77MEMGQYhryO+1wYqLotytoD0mv+KPHfvk7Kf3IBglzikmIauIjIoE vlRCQ7pF9iO25Y1CLHQ1Hz2QDXpCpqBy7Ah57ZIuGfhVA5qaXLTKeoBIvt3ppJl8SwgQ XX1dfUYrv2RzN3I8H8k9f4PYsrNBHuGC3UEgUXZmc5XWv2qHZ53DG7uMtjW9Q/IYd+An 2j9ePyfeFiCqBFwx8ugcc/jrM72+y6aUzDT/kSKaeYIWZqcBk+sbcSL/emOYUPz+bnzX T4YzsWYOyJ+MNmW3SQjKQGBW8hvETT9uu0mCIwoB1HPxk5NH36oza+i3/tqmCNkamdHX Zc9A== MIME-Version: 1.0 X-Received: by 10.180.211.146 with SMTP id nc18mr4869399wic.53.1401885732293; Wed, 04 Jun 2014 05:42:12 -0700 (PDT) Received: by 10.216.147.71 with HTTP; Wed, 4 Jun 2014 05:42:12 -0700 (PDT) In-Reply-To: References: <5387B31E.7030206@gmail.com> <538E4CCD.20505@gmail.com> Date: Wed, 4 Jun 2014 13:42:12 +0100 Message-ID: Subject: Re: Multi-DC Environment Question From: Vasileios Vlachos To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11c3890a16d31004fb01f5ed X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3890a16d31004fb01f5ed Content-Type: text/plain; charset=UTF-8 Hello Matt, nodetool status: Datacenter: MAN =============== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Owns (effective) Host ID Token Rack UN 10.2.1.103 89.34 KB 99.2% b7f8bc93-bf39-475c-a251-8fbe2c7f7239 -9211685935328163899 RAC1 UN 10.2.1.102 86.32 KB 0.7% 1f8937e1-9ecb-4e59-896e-6d6ac42dc16d -3511707179720619260 RAC1 Datacenter: DER =============== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Owns (effective) Host ID Token Rack UN 10.2.1.101 75.43 KB 0.2% e71c7ee7-d852-4819-81c0-e993ca87dd5c -1277931707251349874 RAC1 UN 10.2.1.100 104.53 KB 99.8% 7333b664-ce2d-40cf-986f-d4b4d4023726 -9204412570946850701 RAC1 I do not know why the cluster is not balanced at the moment, but it holds almost no data. I will populate it soon and see how that goes. The output of 'nodetool ring' just lists all the tokens assigned to each individual node, and as you can imagine it would be pointless to paste it here. I just did 'nodetool ring | awk ... | unique | wc -l' and it works out to be 1024 as expected (4 nodes x 256 tokens each). Still have not got the answers to the other questions though... Thanks, Vasilis On Wed, Jun 4, 2014 at 12:28 AM, Matthew Allen wrote: > Thanks Vasileios. I think I need to make a call as to whether to switch > to vnodes or stick with tokens for my Multi-DC cluster. > > Would you be able to show a nodetool ring/status from your cluster to see > what the token assignment looks like ? > > Thanks > > Matt > > > On Wed, Jun 4, 2014 at 8:31 AM, Vasileios Vlachos < > vasileiosvlachos@gmail.com> wrote: > >> I should have said that earlier really... I am using 1.2.16 and Vnodes >> are enabled. >> >> Thanks, >> >> Vasilis >> >> -- >> Kind Regards, >> >> Vasileios Vlachos >> >> > --001a11c3890a16d31004fb01f5ed Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Matt,

nodetool sta= tus:

Datacenter: MAN
=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
Status=3DUp/Down
|/ State=3DNormal/Leaving/Join= ing/Moving
-- Address Load Owns (effective) Host ID = Token Rack
UN 10.2.1.103 89.34 KB 99.2% b7f8bc93-bf39-475c-a251-8fbe2c= 7f7239 -9211685935328163899 RAC1
UN 10.2.1.102 86= .32 KB 0.7% 1f8937e1-9ecb-4e59-896e-6d6ac42dc16d -351170717= 9720619260 RAC1
Datacenter: DER
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Status= =3DUp/Down
|/ State=3DNormal/Leaving/Joining/Moving
-- Address L= oad Owns (effective) Host ID Token = Rack
UN 10.2.1.101 75.43 KB 0.2% e71c7ee7-d852-4819-81c0-e993ca= 87dd5c -1277931707251349874 RAC1
UN 10.2.1.100 10= 4.53 KB 99.8% 7333b664-ce2d-40cf-986f-d4b4d4023726 -920441257= 0946850701 RAC1

I do not know why the cluster is not balanced at the mo= ment, but it holds almost no data. I will populate it soon and see how that= goes. The output of 'nodetool ring' just lists all the tokens assi= gned to each individual node, and as you can imagine it would be pointless = to paste it here. I just did 'nodetool ring | awk ... | unique | wc -l&= #39; and it works out to be 1024 as expected (4 nodes x 256 tokens each).

Still have not got the answers to the other questions t= hough...

Thanks,

Vasilis<= /div>


On= Wed, Jun 4, 2014 at 12:28 AM, Matthew Allen <matthew.j.allen@gma= il.com> wrote:
Thanks Vasileios.= =C2=A0 I think I need to make a call as to whether to switch to vnodes or s= tick with tokens for my Multi-DC cluster.

Would you be able to show a nodetool ring/status from your cluste= r to see what the token assignment looks like ?

Thanks

Matt


On Wed, Ju= n 4, 2014 at 8:31 AM, Vasileios Vlachos <vasileiosvlachos@gmail.c= om> wrote:
=20 =20 =20
I should have said that earlier really... I am using 1.2.16 and Vnodes are enabled.

Thanks,

Vasilis

--=20
Kind Regards,

Vasileios Vlachos


--001a11c3890a16d31004fb01f5ed--