From user-return-8209-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Aug 04 10:36:57 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 38713 invoked from network); 4 Aug 2010 10:36:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 10:36:57 -0000 Received: (qmail 63060 invoked by uid 500); 4 Aug 2010 10:36:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 62785 invoked by uid 500); 4 Aug 2010 10:36:52 -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 62775 invoked by uid 99); 4 Aug 2010 10:36:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 10:36:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgrogan@system7.co.uk designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bw0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 10:36:44 +0000 Received: by bwz7 with SMTP id 7so3280251bwz.31 for ; Wed, 04 Aug 2010 03:36:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.206 with SMTP id a14mr6158968bkg.65.1280918184032; Wed, 04 Aug 2010 03:36:24 -0700 (PDT) Received: by 10.204.113.81 with HTTP; Wed, 4 Aug 2010 03:36:23 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Aug 2010 11:36:23 +0100 Message-ID: Subject: Re: Changing schema w/o losing data - Can it be done? From: Matthew Grogan To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636c5bb03587b75048cfd0102 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5bb03587b75048cfd0102 Content-Type: text/plain; charset=ISO-8859-1 See steps 1-3 in the description section of the issue below: https://issues.apache.org/jira/browse/CASSANDRA-44 On 4 August 2010 09:27, David Boxenhorn wrote: > When I change schema I need to delete the commit logs - otherwise I get a > null pointer exception. > > Is there a way that I can force Cassandra to empty the commit logs so I > won't lose data??? > > (There has not been much recent activity, nor is there much current > activity. There was only one log and it was only 54K.) > --001636c5bb03587b75048cfd0102 Content-Type: text/html; charset=ISO-8859-1
See steps 1-3 in the description section of the issue below:

https://issues.apache.org/jira/browse/CASSANDRA-44

On 4 August 2010 09:27, David Boxenhorn <david@lookin2.com> wrote:
When I change schema I need to delete the commit logs - otherwise I get a null pointer exception.

Is there a way that I can force Cassandra to empty the commit logs so I won't lose data???

(There has not been much recent activity, nor is there much current activity. There was only one log and it was only 54K.)

--001636c5bb03587b75048cfd0102--