From user-return-22946-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Dec 14 14:46:54 2011 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 736789B7F for ; Wed, 14 Dec 2011 14:46:54 +0000 (UTC) Received: (qmail 98059 invoked by uid 500); 14 Dec 2011 14:46:51 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 98031 invoked by uid 500); 14 Dec 2011 14:46:51 -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 98023 invoked by uid 99); 14 Dec 2011 14:46:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2011 14:46:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bart@timedout.org designates 188.40.104.168 as permitted sender) Received: from [188.40.104.168] (HELO tic.timedout.org) (188.40.104.168) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2011 14:46:41 +0000 Received: from mail-vx0-f172.google.com ([209.85.220.172]) by tic.timedout.org with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.72) (envelope-from ) id 1Raqth-0001bn-Vm for user@cassandra.apache.org; Wed, 14 Dec 2011 15:37:34 +0000 Received: by vcbfk13 with SMTP id fk13so295800vcb.31 for ; Wed, 14 Dec 2011 06:46:20 -0800 (PST) Received: by 10.52.175.9 with SMTP id bw9mr4761601vdc.130.1323873980186; Wed, 14 Dec 2011 06:46:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.5.201 with HTTP; Wed, 14 Dec 2011 06:45:59 -0800 (PST) In-Reply-To: References: From: Bart Swedrowski Date: Wed, 14 Dec 2011 14:45:59 +0000 Message-ID: Subject: Re: One ColumnFamily places data on only 3 out of 4 nodes To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf3071ccee50fef904b40e6e83 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3071ccee50fef904b40e6e83 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 14 December 2011 13:02, wrote: > Do you use randompartitiner? What nodetool getendpoints show for several > random keys > Yes, randompartitioner it is. Thanks for hint re 'nodetool getendpoints'. I have queried few, and to my surprise, 192.168.82.2 (node1) is showing up as a endpoint for few of them: bart@node1:~$ nodetool -h localhost getendpoints A UserDetails 4547246 192.168.81.3 192.168.81.4 192.168.81.5 bart@node1:~$ nodetool -h localhost getendpoints A UserDetails 4549279 192.168.81.5 192.168.81.2 192.168.81.3 bart@node1:~$ nodetool -h localhost getendpoints A UserDetails 4549749 192.168.81.2 192.168.81.3 192.168.81.4 bart@node1:~$ nodetool -h localhost getendpoints A UserDetails 4545027 192.168.81.5 192.168.81.2 192.168.81.3 Any idea why the hell those are not stored on node1, though? bart@node1:~$ nodetool -h localhost cfstats [=E2=80=A6] Column Family: UserDetails SSTable count: 0 Space used (live): 0 Space used (total): 0 Number of Keys (estimate): 0 Memtable Columns Count: 0 Memtable Data Size: 0 Memtable Switch Count: 0 Read Count: 0 Read Latency: NaN ms. Write Count: 0 Write Latency: NaN ms. Pending Tasks: 0 Key cache capacity: 200000 Key cache size: 0 Key cache hit rate: NaN Row cache: disabled Compacted row minimum size: 0 Compacted row maximum size: 0 Compacted row mean size: 0 --20cf3071ccee50fef904b40e6e83 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 14 December 2011 13:02, <igor@4friends.od.ua>= ; wrote:

Do you use randompartitiner? What nodetool getendpoints show for se= veral random keys

Yes, randompartitioner it is.<= /div>

Thanks for hint re 'nodetool getendpoints'= . =C2=A0I have queried few, and to my surprise, 192.168.82.2 (node1) is sho= wing up as a endpoint for few of them:

bart@node<= span class=3D"Apple-style-span">1:~$ nodetool -h localhost getendpoints A U= serDetails 4547246
192.168.81.3
192.168.81.4
192.168.81.5
bart@no= de1:~$ nodetool -h localhost getendpoints = A UserDetails 4549279
192.168.81.5
192.168.81.2<= /div>
192.168.81.3
bart@no= de1:~$ nodetool -h localhost getendpoints = A UserDetails 4549749
192.168.81.2
192.168.81.3<= /div>
192.168.81.4
bart@node1:~$ nodetool -h localhost getendpoint= s A UserDetails 4545027
192.168.81.5
192.168.81.2
=
192.168.81.3

Any idea why the hell thos= e are not stored on node1, though?

bart@node1:~$ nodetool -h localhost cfstats
<= /div>
[=E2=80=A6]
Column Family: UserDetails
SSTable count: 0<= /div>
Spac= e used (live): 0
Space used (total): 0
Number of Keys (estimate): 0
Memt= able Columns Count: 0
Memtable Data Size: 0
Memtable Switch Count: 0
Read= Count: 0
Read Latency: NaN ms.
Write Count: 0
Writ= e Latency: NaN ms.
Pending Tasks: 0
Key cache capacity: 200000
Key = cache size: 0
Key cache hit rate: NaN
Row cache: disabled
Comp= acted row minimum size: 0
Compacted row maximum size: 0
Compacted row mea= n size: 0

--20cf3071ccee50fef904b40e6e83--