From user-return-35121-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Jul 8 22:37:58 2013 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 7FBE910D6D for ; Mon, 8 Jul 2013 22:37:58 +0000 (UTC) Received: (qmail 16753 invoked by uid 500); 8 Jul 2013 22:37:56 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16731 invoked by uid 500); 8 Jul 2013 22:37:56 -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 16723 invoked by uid 99); 8 Jul 2013 22:37:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jul 2013 22:37:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a92.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jul 2013 22:37:49 +0000 Received: from homiemail-a92.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a92.g.dreamhost.com (Postfix) with ESMTP id 4C4E83DC06D for ; Mon, 8 Jul 2013 15:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=8Bh37CMCgLIEAshrQGyXuDSbFw c=; b=4kC+JRveXL+y3COaJACbzJfJydtTHUBfAOsJfxhaMvxHBoRjRLCEnD7cDJ YePD4evMIjN6ZXDeqlm5R9oIg/UvUDdwfxdYUz/CL7K2jpaPSBwWXXvUHoOpMfXK XYd8gfdcy1ZxuRr13uCwXOe/xK/2YSykHjPMvKIDcS976yBAw= Received: from [172.16.1.7] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a92.g.dreamhost.com (Postfix) with ESMTPSA id B00393DC05B for ; Mon, 8 Jul 2013 15:37:26 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_AF65314C-6049-474B-B64F-FB81D08856F9" Message-Id: <8BCAB606-158B-4CA1-82C1-9B2855C15479@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Migrating data from 2 node cluster to a 3 node cluster Date: Tue, 9 Jul 2013 10:37:28 +1200 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1508) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_AF65314C-6049-474B-B64F-FB81D08856F9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > This might work for user created keyspaces but might not work for = system keyspace Leaving the system keyspaces behind is OK if you are not using vnodes.=20= Cheers ----------------- Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 9/07/2013, at 10:03 AM, sankalp kohli wrote: > "If RF=3DN or RF>N, you can just copy all SStables to all nodes, = watching out for name collision." >=20 > This might work for user created keyspaces but might not work for = system keyspace >=20 >=20 > On Mon, Jul 8, 2013 at 2:07 PM, Robert Coli = wrote: > On Fri, Jul 5, 2013 at 7:54 PM, srmore wrote: > RF of old and new cluster is the same RF=3D3. Keyspaces and schema = info is also same. >=20 > You have a cluster where RF=3D3 and N=3D2? Does it.. work? >=20 > What are the tokens of old and new nodes? > tokens for old cluster ( 2-node ) >=20 > If RF=3DN or RF>N, you can just copy all SStables to all nodes, = watching out for name collision. >=20 > =3DRob >=20 >=20 --Apple-Mail=_AF65314C-6049-474B-B64F-FB81D08856F9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
This might work for user = created keyspaces but might not work for system = keyspace
Leaving the system = keyspaces behind is OK if you are not using = vnodes. 

Cheers

http://www.thelastpickle.com

On 9/07/2013, at 10:03 AM, sankalp kohli <kohlisankalp@gmail.com> = wrote:

"If RF=3DN or = RF>N, you can just copy all SStables to all nodes, watching out for = name collision."

This might work = for user created keyspaces but might not work for system keyspace


On = Mon, Jul 8, 2013 at 2:07 PM, Robert Coli <rcoli@eventbrite.com> wrote:
On Fri, Jul 5, 2013 at 7:54 = PM, srmore <comomore@gmail.com> wrote:
RF = of old and new cluster is the same RF=3D3. Keyspaces and schema info is = also same.

You = have a cluster where RF=3D3 and N=3D2? Does it.. work?

What are the tokens of old and new = nodes?
tokens for old cluster ( = 2-node = )

If = RF=3DN or RF>N, you can just copy all SStables to all nodes, watching = out for name collision.

=3DRob



= --Apple-Mail=_AF65314C-6049-474B-B64F-FB81D08856F9--