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 23A79ECCF for ; Thu, 28 Feb 2013 00:58:46 +0000 (UTC) Received: (qmail 29744 invoked by uid 500); 28 Feb 2013 00:58:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 29722 invoked by uid 500); 28 Feb 2013 00:58:43 -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 29711 invoked by uid 99); 28 Feb 2013 00:58:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 00:58:43 +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 tyler@datastax.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-la0-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 00:58:37 +0000 Received: by mail-la0-f52.google.com with SMTP id fs12so1205873lab.25 for ; Wed, 27 Feb 2013 16:58:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=7V4xOVAgG/y8jvdztIejQiRTsK1hXCpLPLFHZQqN2jM=; b=Et2malpHT+bbZ2GIwyB10+B3+wWpavFNw8nCg4lVBbnEL8E9DDWKnf1FT+2vdZ3TDx v1iPpgVtS7VmcOBk3sMWNKCl/EqX3uvQu+Ef4UrNxhtJJXArOObpfxZLIMr83foZfm4X HO1qpPTkiahLS1g5LvnT1uMtDTbBbrNG3YUZOMcRx428XQDipjsCselGQUyTPFQj4Tu8 EzgZ8rlegkVGrZFRjdN+kma3ZP0T222BSSYcaZR3hrvoijyHxjEoOzAAptsFNHZxdR4N SO03/fwdefMXLivVSx94IhUv/vTGrNOdHmDevMb5N9A2mTUoCtbvkT6Uoef3RT2krGyi vK8w== MIME-Version: 1.0 X-Received: by 10.112.88.5 with SMTP id bc5mr2863404lbb.50.1362013096419; Wed, 27 Feb 2013 16:58:16 -0800 (PST) Received: by 10.112.87.133 with HTTP; Wed, 27 Feb 2013 16:58:16 -0800 (PST) In-Reply-To: References: Date: Wed, 27 Feb 2013 18:58:16 -0600 Message-ID: Subject: Re: misreports on nodetool ring command on 1.1.4 From: Tyler Hobbs To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=f46d04016b49cac05004d6be6292 X-Gm-Message-State: ALoCoQkWjd8wd0/Yz00OppfkN+8HUc1eJ7xoMyKHXeLJg9DT5789NGZCBjDlaSuv5APE02oDtudA X-Virus-Checked: Checked by ClamAV on apache.org --f46d04016b49cac05004d6be6292 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable What are the replication settings for the keyspace you created? Perhaps you used NTS with a bad DC name? On Wed, Feb 27, 2013 at 7:50 AM, Hiller, Dean wrote: > I just installed 1.1.4 as I need to test upgrade to 1.2.2. I have an > existing 6 node cluster which shows 50% ownership on each node which make= s > sense since RF=3D3 on everything I have. > > I brought up all 4 nodes in this cluster and ran nodetool ring and it > shows every node with 25%. > Then, I create a keyspace and run again and it shows every node at 0% > > Exact output was the following=85.. > > [cassandra@sdi-prod-04 ~]$ nodetool ring > Note: Ownership information does not include topology, please specify a > keyspace. > Address DC Rack Status State Load > Owns Token > > 127605887595351923798765477786913079295 > 10.20.5.82 DC1 RAC1 Up Normal 11.37 KB > 25.00% 0 > 10.20.5.83 DC1 RAC1 Up Normal 11.14 KB > 25.00% 42535295865117307932921825928971026431 > 10.20.5.84 DC1 RAC1 Up Normal 11.14 KB > 25.00% 85070591730234615865843651857942052863 > 10.20.5.85 DC1 RAC1 Up Normal 15.65 KB > 25.00% 127605887595351923798765477786913079295 > > After I created the keyspace, ran it again=85. > > [cassandra@sdi-prod-04 ~]$ nodetool ring > Address DC Rack Status State Load > Effective-Ownership Token > > 127605887595351923798765477786913079295 > 10.20.5.82 DC1 RAC1 Up Normal 15.95 KB > 0.00% 0 > 10.20.5.83 DC1 RAC1 Up Normal 15.73 KB > 0.00% 42535295865117307932921825928971026431 > 10.20.5.84 DC1 RAC1 Up Normal 15.73 KB > 0.00% 85070591730234615865843651857942052863 > 10.20.5.85 DC1 RAC1 Up Normal 20.24 KB > 0.00% 127605887595351923798765477786913079295 > > Thanks, > Dean > > > > > --=20 Tyler Hobbs DataStax --f46d04016b49cac05004d6be6292 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
What are the replication settings for the keyspace you cre= ated? Perhaps you used NTS with a bad DC name?


On Wed, Feb 27, 2013 at 7:50 AM,= Hiller, Dean <Dean.Hiller@nrel.gov> wrote:
I just installed 1.1.4 as I need to test upg= rade to 1.2.2. =A0I have an existing 6 node cluster which shows 50% ownersh= ip on each node which makes sense since RF=3D3 on everything I have.

I brought up all 4 nodes in this cluster and ran nodetool ring and it shows= every node with 25%.
Then, I create a keyspace and run again and it shows every node at 0%

Exact output was the following=85..

[cassandra@sdi-prod-04 ~]$ nodetool ring
Note: Ownership information does not include topology, please specify a key= space.
Address =A0 =A0 =A0 =A0 DC =A0 =A0 =A0 =A0 =A0Rack =A0 =A0 =A0 =A0Status St= ate =A0 Load =A0 =A0 =A0 =A0 =A0 =A0Owns =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Tok= en
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0127605887595351923798765477786913079295<= br> 10.20.5.82 =A0 =A0 =A0DC1 =A0 =A0 =A0 =A0 RAC1 =A0 =A0 =A0 =A0Up =A0 =A0 No= rmal =A011.37 KB =A0 =A0 =A0 =A025.00% =A0 =A0 =A0 =A0 =A0 =A0 =A00
10.20.5.83 =A0 =A0 =A0DC1 =A0 =A0 =A0 =A0 RAC1 =A0 =A0 =A0 =A0Up =A0 =A0 No= rmal =A011.14 KB =A0 =A0 =A0 =A025.00% =A0 =A0 =A0 =A0 =A0 =A0 =A0425352958= 65117307932921825928971026431
10.20.5.84 =A0 =A0 =A0DC1 =A0 =A0 =A0 =A0 RAC1 =A0 =A0 =A0 =A0Up =A0 =A0 No= rmal =A011.14 KB =A0 =A0 =A0 =A025.00% =A0 =A0 =A0 =A0 =A0 =A0 =A0850705917= 30234615865843651857942052863
10.20.5.85 =A0 =A0 =A0DC1 =A0 =A0 =A0 =A0 RAC1 =A0 =A0 =A0 =A0Up =A0 =A0 No= rmal =A015.65 KB =A0 =A0 =A0 =A025.00% =A0 =A0 =A0 =A0 =A0 =A0 =A0127605887= 595351923798765477786913079295

After I created the keyspace, ran it again=85.

[cassandra@sdi-prod-04 ~]$ nodetool ring
Address =A0 =A0 =A0 =A0 DC =A0 =A0 =A0 =A0 =A0Rack =A0 =A0 =A0 =A0Status St= ate =A0 Load =A0 =A0 =A0 =A0 =A0 =A0Effective-Ownership Token
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0127605887595351923798765477786913079295<= br> 10.20.5.82 =A0 =A0 =A0DC1 =A0 =A0 =A0 =A0 RAC1 =A0 =A0 =A0 =A0Up =A0 =A0 No= rmal =A015.95 KB =A0 =A0 =A0 =A00.00% =A0 =A0 =A0 =A0 =A0 =A0 =A0 0
10.20.5.83 =A0 =A0 =A0DC1 =A0 =A0 =A0 =A0 RAC1 =A0 =A0 =A0 =A0Up =A0 =A0 No= rmal =A015.73 KB =A0 =A0 =A0 =A00.00% =A0 =A0 =A0 =A0 =A0 =A0 =A0 425352958= 65117307932921825928971026431
10.20.5.84 =A0 =A0 =A0DC1 =A0 =A0 =A0 =A0 RAC1 =A0 =A0 =A0 =A0Up =A0 =A0 No= rmal =A015.73 KB =A0 =A0 =A0 =A00.00% =A0 =A0 =A0 =A0 =A0 =A0 =A0 850705917= 30234615865843651857942052863
10.20.5.85 =A0 =A0 =A0DC1 =A0 =A0 =A0 =A0 RAC1 =A0 =A0 =A0 =A0Up =A0 =A0 No= rmal =A020.24 KB =A0 =A0 =A0 =A00.00% =A0 =A0 =A0 =A0 =A0 =A0 =A0 127605887= 595351923798765477786913079295

Thanks,
Dean







--
Tyler Hobbs
DataStax
--f46d04016b49cac05004d6be6292--