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 64B269C0E for ; Thu, 24 May 2012 19:29:32 +0000 (UTC) Received: (qmail 29502 invoked by uid 500); 24 May 2012 19:29:29 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 29489 invoked by uid 500); 24 May 2012 19:29:29 -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 29481 invoked by uid 99); 24 May 2012 19:29:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 19:29:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of driftx@gmail.com designates 209.85.212.178 as permitted sender) Received: from [209.85.212.178] (HELO mail-wi0-f178.google.com) (209.85.212.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 19:29:23 +0000 Received: by wibhn6 with SMTP id hn6so115053wib.7 for ; Thu, 24 May 2012 12:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=spQm2aBn/Vl8tjdxGDSG5z8fl8LVavhUZjqiMZclNz0=; b=Lkw+v5Y1Z+J15Geof82CvxGDiYULzYRNF1rkmYfKoqY3uzx0KiHbs4Gp6akswKVF7S mdaZQBuc4CJBFAka+zbeTghgJtgd9uRwOLIsNdIZPkpAYhgTh6dp14Yc47phP9RaseXb 2Z3j1a2ASk2mQa3W4QTy2gkFp6GdIZYPniNGKivpvMd+4gTDQ27A5dhc0kd3YvDS/pyi OIZs/RLEEbkdU+PI1RkQl6IN8I5vVRhlu1ztJAgGPDlnXdvSu0UNgVXVqcwHAXfpUGCJ 8j47s4owbiY6KsCW3j9q2GLMRZ9bwJFT+sfnu55AsVa9mmK8kwOgme3S3eRT3QLSA8Bq HCFA== Received: by 10.216.205.5 with SMTP id i5mr320768weo.6.1337887742144; Thu, 24 May 2012 12:29:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.47.67 with HTTP; Thu, 24 May 2012 12:28:41 -0700 (PDT) In-Reply-To: References: From: Brandon Williams Date: Thu, 24 May 2012 14:28:41 -0500 Message-ID: Subject: Re: Migrating from a windows cluster to a linux cluster. 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 On Thu, May 24, 2012 at 1:50 PM, Henrik Schr=F6der wrot= e: > Ok. It's important for us to not have any downtime, so how about this > solution: > > We startup the Linux cluster independently. > We configure our application to send all Cassandra writes to both cluster= s, > but only read from the Windows cluster. > We run sstableloader on each windows server (Is it possible to do in > parallell?), sending whatever it has to the Linux cluster. > When it's done on all Windows servers, we configure our application to on= ly > talk to the Linux cluster. That sounds fine, with the caveat that you can't run sstableloader from a machine running Cassandra before 1.1, so copying the sstables manually (assuming both clusters are the same size and have the same tokens) might be better. > The only issue with this is the timestamps of the data and tombstones in > each sstable, will they be preserved by sstableloader? What about deletes= of > non-existing keys? Will they be stored in the Linux cluster so that when > sstableloader inserts the key later, it's resolved as being deleted? None of that should be a problem. -Brandon