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 58D5C9604 for ; Tue, 1 May 2012 16:07:29 +0000 (UTC) Received: (qmail 75670 invoked by uid 500); 1 May 2012 16:07:27 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 75634 invoked by uid 500); 1 May 2012 16:07:27 -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 75626 invoked by uid 99); 1 May 2012 16:07:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 16:07:27 +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 benoit@noisette.ch designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 16:07:21 +0000 Received: by obbeh20 with SMTP id eh20so2708861obb.31 for ; Tue, 01 May 2012 09:07:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=4xKNTsYI+QebUY+p7I+tj3Qlqg326KTb0yntB9dec6Q=; b=mvwEwTL8odolLDA8UmYAzgo+bbferWlh5gk1JBwtr3DLmEyHxwqUcxsEq24q+OVACW NIXTB7twpXcLobHXGB2v/1/73u+nMYjmcRIQ6D2oMTfLKyW8Hfd0jMDy6/0bAtrrWmUy tc2WckJ1omjHkcMlwMWgiT8Dv4/jhXmgOnik7iZyivOjNqISOMza0mgY5KG72tEyVPxQ 1HVn1TxAxS/pyOPhKuRtckM+ay18Cd9NLcri2+Io6+p918lqlK6y2gN2KOyffdA4KpWP //ZALsCA7vdGf+H7t+BDqJmQGYgBztgCP6zA74cRdNczaskammpENvbnEz1QCcm+59vc vbLw== MIME-Version: 1.0 Received: by 10.182.183.73 with SMTP id ek9mr9513823obc.15.1335888420053; Tue, 01 May 2012 09:07:00 -0700 (PDT) Received: by 10.182.185.101 with HTTP; Tue, 1 May 2012 09:06:59 -0700 (PDT) In-Reply-To: <81980EBC-E61D-4F98-907D-A7A19064E386@cloudorange.com> References: <81980EBC-E61D-4F98-907D-A7A19064E386@cloudorange.com> Date: Tue, 1 May 2012 18:06:59 +0200 Message-ID: Subject: Re: Bulkload into a different CF From: Benoit Perroud To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnhcAaxecQCfGkFupuEgiIq8o+3XMjvvLCDfy1YU+XC4o00TKfOBeCQQZbGyfDTZKB+L1DD X-Virus-Checked: Checked by ClamAV on apache.org !! Without any guarantee. I know it works but I never used this in production !! You can copy the sstables (renaming them accordingly) and call nodetool refresh. Don't forget to create your column family CF2 before. 2012/5/1 Oleg Proudnikov : > Hello, > > Is it possible to create an exact replica of a CF by these steps? > > 1. Take a snapshot > 2. Isolate sstables for CF1 > 3. Rename sstables into CF2 > 4. Bulk load renamed sstables into newly created CF2 within the same Keyspace > > Or would you suggest using sstable2json instead? > > Thank you very much, > Oleg > -- sent from my Nokia 3210