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 E57901814F for ; Thu, 6 Aug 2015 20:31:55 +0000 (UTC) Received: (qmail 92702 invoked by uid 500); 6 Aug 2015 20:31:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 92659 invoked by uid 500); 6 Aug 2015 20:31:53 -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 92649 invoked by uid 99); 6 Aug 2015 20:31:53 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 20:31:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 93F6F1A998E for ; Thu, 6 Aug 2015 20:31:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id jAy2b1mIIp_t for ; Thu, 6 Aug 2015 20:31:44 +0000 (UTC) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 1548342AFB for ; Thu, 6 Aug 2015 20:31:44 +0000 (UTC) Received: by labkb6 with SMTP id kb6so34384210lab.2 for ; Thu, 06 Aug 2015 13:31:43 -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; bh=FESe4ym0093VXjymt/AYE6JZXFj0Bmwt7RQNfcBQHPI=; b=Ys8DF6yfYzAwDFl1oR7vGm3Mi5Ev2WauRnU/xipSKBl5wj8HzAgQ1Ho4toXAjmCtO6 x3NBUTxgWA5dc7Ac+Q8FJmPa/uWsDmZAMinx16uinlW91QGGWRzxtlVKSBJlTLq3Cmkn Z8Y6d4ddoWYPCQ50Dk5I9yB3MoDrRhcDFoBR26B68c+ZKLekFtzb+iZgXvrDNAzDcSrh kQpl7oyM2/2RPboyAvCrEWv+s/ltDHKCPgeBYxRRUGjkWR5lQ0ULN4qJ2yEkNq/P0QJo 70VN2VCGwdwY2/QMIeAYw11gqIeKOnX5KcYHxs/CQm9HRQObf0uBhQhYW9LdedpxZFg2 JVIw== X-Received: by 10.112.239.43 with SMTP id vp11mr4129499lbc.75.1438893102952; Thu, 06 Aug 2015 13:31:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.6.196 with HTTP; Thu, 6 Aug 2015 13:31:23 -0700 (PDT) In-Reply-To: References: From: Alain RODRIGUEZ Date: Thu, 6 Aug 2015 22:31:23 +0200 Message-ID: Subject: Re: Duplicating a cluster with different # of disks To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a113492b845782d051caa6838 --001a113492b845782d051caa6838 Content-Type: text/plain; charset=UTF-8 Hi Gerard, You should probably add a new datacenter following this procedure : http://docs.datastax.com/en/cassandra/2.1/cassandra/operations/ops_add_dc_to_cluster_t.html You will just have to make sure to configure all the nodes of the new nodes to use mnt + mnt2 instead of mnt + mnt2 + mnt3. Make sure to have enough space (disks / nodes) to handle your whole set of data in the keyspace you want to load and it should be ok. I think that this is the easiest approach, you don't need to care about SSTable at all, Cassandra does it for you. C*heers, Alain 2015-08-06 18:50 GMT+02:00 Gerard Maas : > Hi, > > I'm currently trying to duplicate a given keyspace on a new cluster to run > some analytics on it. > > My source cluster has 3 disks and corresponding data directories (mnt, > mnt2, mnt3) but the machines in my target cluster only have 2 disks (mnt, > mnt2). > > What should be the correct procedure to copy the sstable data from source > to destination in this case? > > -kr, Gerard. > --001a113492b845782d051caa6838 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Gerard,

You should probably add a ne= w datacenter following this procedure :=C2=A0h= ttp://docs.datastax.com/en/cassandra/2.1/cassandra/operations/ops_add_dc_to= _cluster_t.html

You will just have to make sur= e to configure all the nodes of the new nodes to use=C2=A0mnt + mnt2 instead of=C2=A0mnt + mnt2 + mnt3.

Make sure to have enough space (disks / n= odes) to handle your whole set of data in the keyspace you want to load and= it should be ok.

I t= hink that this is the easiest approach, you don't need to care about SS= Table at all, Cassandra does it for you.

C*heers,

Alain

2015-08-06 18:50 GMT+02:00 Gerard Maas &= lt;gerard.maas@g= mail.com>:
Hi,

I'm currently trying to duplicate a given keysp= ace on a new cluster to run some analytics on it.

= My source cluster has 3 disks and corresponding data directories (mnt, mnt2= , mnt3) but the machines in my target cluster only have 2 disks (mnt, mnt2)= .

What should be the correct procedure to copy the= sstable data =C2=A0from source to destination in this case?

=
-kr, Gerard.

--001a113492b845782d051caa6838--