Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 47673 invoked from network); 25 May 2010 01:24:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 01:24:49 -0000 Received: (qmail 3978 invoked by uid 500); 25 May 2010 01:24:48 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 3955 invoked by uid 500); 25 May 2010 01:24:48 -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 3943 invoked by uid 99); 25 May 2010 01:24:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 01:24:48 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 01:24:41 +0000 Received: by wwe15 with SMTP id 15so123838wwe.31 for ; Mon, 24 May 2010 18:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=QVRriNkOfYIgGmN76xbWeFS0jxEBdLWbTbqNX2vHZsk=; b=X1xiOEDE17bAn4pCq4S194E7xwWvgitEEN0HguBVcpBRbGSmDUMA0GKS+B99Km6BKW YJKgrpYuJ2moKVWpP7a4pf7iGgj9X63sZTj2MkgbaNViICV9PEiq/23dzQnJqJ5Cjj6l AZTyrpLsZfIN2s9EhlHzYphLJkp1cpJ941yEE= 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=Gl65Q0e0I2KO5+br9gIYv/zogb1l/2dP1fyhWwF9j+g3Ox6KzdvynGQzgHobiFF7sq HQTo1j+Rxmo4jc2l5gVz360009xGvL/QwlEJ9j3pcUYwlKqbh2EgQP2aipfDt9nc4LBQ 2eO1yuEWoNpt65YQcsm0GFPyEixND4Z3lI3CE= Received: by 10.216.166.68 with SMTP id f46mr4003350wel.6.1274750661220; Mon, 24 May 2010 18:24:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.17.197 with HTTP; Mon, 24 May 2010 18:24:00 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Mon, 24 May 2010 20:24:01 -0500 Message-ID: Subject: Re: Different KeySpaces for different nodes in the same ring 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 DatacenterShardSnitch in 0.7 allows something like this: # DatacenterShardStrategy is a generalization of RackAwareStrategy. # For each datacenter, you can specify (in `datacenter.properties`) # how many replicas you want on a per-keyspace basis. Replicas are # placed on different racks within each DC, if possible. (DSS is present in 0.6 but incomplete, which is why it is not documented th= ere.) On Mon, May 24, 2010 at 7:26 PM, Mishail wrote: > Greetings, > > Is it possible to spread the particular keyspace only to the part of the > ring? > > For example: > > Node =A0 =A0| Keyspaces > -------------------- > node1 =A0 | KS1 > node2 =A0 | KS2 > node3 =A0 | KS1, KS2 > > Each KeySpace has ReplicationFactor =3D=3D 2, so, node3 would store data > from all keyspaces. > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com