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 5426951B3 for ; Wed, 11 May 2011 01:52:27 +0000 (UTC) Received: (qmail 31509 invoked by uid 500); 11 May 2011 01:52:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31487 invoked by uid 500); 11 May 2011 01:52:24 -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 31479 invoked by uid 99); 11 May 2011 01:52:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 01:52:24 +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 (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a47.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 01:52:18 +0000 Received: from homiemail-a47.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTP id 1919F28405C for ; Tue, 10 May 2011 18:51:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=rHxJzf7ajl 4qKh6gcrgFXbSsfq6iARWsyafhq6TOOt2ngOgEnhpEXIMyMjXIe7syaToWotOfGG OJ+zDH/ffzTaL/2o0HOgcokE2jhYIYedyTW+/bYgZzgWrO8EWHkN4jW+mvddxF5H euHfN25gOSsGN/5hfrJy2ZY5LYMtBumFg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=QqdiTtFb0cd4S3VA z6lnYbcdgZQ=; b=p9XrVHz2Sz0lV+9xM6WmPZSLXm2YTn83domfUL9NtjwwAC/7 yRj+k77zwCJoVYr+KOMwYT7plTt0VguRj4Y5hdA9dLBn+XKg/P7dQ+NlzDVstPkl M0YgcZjSIwReIh4S2loBKdLDlbgxIIQOJXgM0fzaEvXYS1RbZlJMhdm+TAA= Received: from [10.0.1.151] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTPSA id 6779A28405B for ; Tue, 10 May 2011 18:51:52 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-51-353993885 Subject: Re: Renaming cluster Date: Wed, 11 May 2011 13:51:48 +1200 In-Reply-To: To: user@cassandra.apache.org References: <46DB0F13-0FA9-4260-99F6-B984C7C8BB4A@thelastpickle.com> Message-Id: <5D142669-F424-43B4-8DDC-68E120C2833B@thelastpickle.com> X-Mailer: Apple Mail (2.1084) --Apple-Mail-51-353993885 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I was looking in the wrong place, the code expects the data directory = for the system keyspace to be empty if it could not read from the = LocationInfo CF.=20 Created a patch here = https://issues.apache.org/jira/browse/CASSANDRA-2632 to see if it can be = changed. In the mean time try removing all the files, restarting and then = stopping. You should see that only the LocationInfo has files in the = system keyspace, put the Schema, Migration and any other files back = (other than the LocationInfo) and try starting again.=20 Hope that helps.=20 =20 ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 11 May 2011, at 06:11, Shaun Newman wrote: > Hi, >=20 > Here is the actual error I get when I remove all LocationInfo files: >=20 > ERROR 18:05:04,918 Fatal exception during initialization > org.apache.cassandra.config.ConfigurationException: Found system table = files, but they couldn't be loaded. Did you change the partitioner? > at = org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:234) > at = org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassand= raDaemon.java:128) > at = org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCass= andraDaemon.java:315) > at = org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79) >=20 > Shaun >=20 >=20 > On Mon, May 9, 2011 at 10:05 PM, aaron morton = wrote: > Can you provide the full error stack, it will show where it failed = when starting up.=20 >=20 > AFAIK this i the correct process. I just did a quick test on a singe = 0.7 node and it could start up after removing the locations SSTables.=20 >=20 > If you go ahead with removing all the system sstables you can = re-recreate the schema and it will pickup the existing files. Also be = aware that the initial token will be lost unless it is in the conf file.=20= >=20 > Hope that helps.=20 > =20 > ----------------- > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com >=20 --Apple-Mail-51-353993885 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii I was = looking in the wrong place, the code expects the data directory for the = system keyspace to be empty if it could not read from the LocationInfo = CF. 

Created a patch here  https://issu= es.apache.org/jira/browse/CASSANDRA-2632 to see if it can be = changed.

In the = mean time try removing all the files, restarting and then stopping. You = should see that only the LocationInfo has files in the system keyspace, = put the Schema, Migration and any other files back (other than the = LocationInfo) and try starting = again. 

Hope that = helps. 
 
http://www.thelastpickle.com

On 11 May 2011, at 06:11, Shaun Newman wrote:

Hi,

Here is the actual error I get when = I remove all LocationInfo files:

ERROR = 18:05:04,918 Fatal exception during = initialization
org.apache.cassandra.config.ConfigurationExceptio= n: Found system table files, but they couldn't be loaded. Did you change = the partitioner?
        at = org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:234)
        at = org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassand= raDaemon.java:128)
        at = org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCass= andraDaemon.java:315)
        at = org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)<= /div>

Shaun


On Mon, May 9, 2011 at 10:05 PM, aaron morton = <aaron@thelastpickle.com> wrote:
Can you provide the full error stack, it = will show where it failed when starting up. 

AFAIK this i the correct process. I just did a quick test = on a singe 0.7 node and it could start up after removing the locations = SSTables. 

If you go ahead with removing = all the system sstables you can re-recreate the schema and it will = pickup the existing files. Also be aware that the initial token will be = lost unless it is in the conf file. 

Hope that = helps. 
 
-----------------
Aaron Morton
Freelance = Cassandra Developer
@aaronmorton


= --Apple-Mail-51-353993885--