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 79EA82A9D for ; Tue, 3 May 2011 17:38:05 +0000 (UTC) Received: (qmail 19597 invoked by uid 500); 3 May 2011 17:38:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 19575 invoked by uid 500); 3 May 2011 17:38:03 -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 19567 invoked by uid 99); 3 May 2011 17:38:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 17:38:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 17:37:58 +0000 Received: by vxg33 with SMTP id 33so295172vxg.31 for ; Tue, 03 May 2011 10:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=ihzjmBWecRxn5KFUxjV0zfWcd6DCHd4KkTGHWx4zW2A=; b=T986AZCs1SyQr8foXeQyre4xXW1OzLIymyc1k24uyatoogPoVXdl2LpWWLJWiL0aMK wNkwKqZZz7Wvw2bDX9PFvUgTmmkd1NU9t2zVCJz94j3KfhED7GJxbNdwLPE9sR5ZVpbt 4476rmL1uV+IW197lSTPOk6FAX/F4WIuFQQtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=aMZ+ql5pEHUNPo3LNCjXZjP6mzPlxuHdz9yUAGPmRvtuQLhdPv0KD1qOneOELScjW1 lhkEYLDAyilvwlzVGSo2C2m2d4YxyIw/EwgqHJeuen7KJCI17o9leGtaIfLOL2cOC9MM bKUombHTX6xf3sxAJwGdEWrIUDCxwt16x4ENQ= Received: by 10.52.66.9 with SMTP id b9mr88603vdt.311.1304444257102; Tue, 03 May 2011 10:37:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.184.65 with HTTP; Tue, 3 May 2011 10:37:17 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Tue, 3 May 2011 12:37:17 -0500 Message-ID: Subject: Re: Range Slice Issue To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Do you still see this behavior if you disable dynamic snitch? On Tue, May 3, 2011 at 12:31 PM, Serediuk, Adam wrote: > We appear to have encountered an issue with cassandra 0.7.5 after upgradi= ng > from 0.7.2. While doing a batch read using a get_range_slice against the > ranges an individual node is master for we are able to reproduce > consistently that the last two nodes in the ring, regardless of the ring > size (we have a 60 node production cluster and a 12 node test cluster) > perform this read over the network using replicas of executing locally. > Every other node in the ring successfully reads locally. > To be sure there were no data consistency issues we performed a nodetool > repair against both of these nodes and the issue persists. We also tried > truncating the column family and repopulating, but the issue remains. > This seems to be related to=A0CASSANDRA-2286 in 0.7.4. We always want to = read > data locally if it is available there. We > use=A0Cassandra.Client.describe_ring() to figure out which machine in the > ring=A0is master for which TokenRange. I then compare the master for > each=A0TokenRange against the localhost=A0to find out which token ranges > are=A0owned by the local machine (remote reads are too slow for this type > of=A0batch processing). Once I know which TokenRanges are on > each=A0machine=A0locally I get evenly sized splits using > Cassandra.Client.describe_splits(). > > Adam > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com