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 15391F141 for ; Tue, 7 May 2013 16:38:43 +0000 (UTC) Received: (qmail 9893 invoked by uid 500); 7 May 2013 16:38:40 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 9866 invoked by uid 500); 7 May 2013 16:38:40 -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 9858 invoked by uid 99); 7 May 2013 16:38:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 16:38:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of blair@orcaware.com designates 108.0.197.17 as permitted sender) Received: from [108.0.197.17] (HELO orca4.orcaware.com) (108.0.197.17) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 16:38:36 +0000 Received: from orca4.orcaware.com (localhost [127.0.0.1]) by orca4.orcaware.com (8.14.4/8.14.4/Debian-2.1ubuntu2) with ESMTP id r47GcDbW009705; Tue, 7 May 2013 09:38:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orcaware.com; s=default; t=1367944693; bh=q/6zwEQ6puOnds8DqUBVJnvJHnLNehuN2EwIcP6mBjc=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=KgOv1maPcVEnRJSS80EAKGd7YRXPIpwy385emgwm94o/JERRZy/xAkG1r4wESgV2/ 6tcBeRX3t59jeqoUpKP07UzuW74rsF1uCKsj80FWHGf5i7HWNevte6uDtzBC4VG9+r Ww+Sd/JS+RJJiUWeORoO18NXYHyr+0Qc0VbC9xjY= Message-ID: <51892DF5.1030805@orcaware.com> Date: Tue, 07 May 2013 09:38:13 -0700 From: Blair Zajac User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: user@cassandra.apache.org CC: aaron morton Subject: Re: Cassandra won't restart : 7365....6c73 is not defined as a collection References: <518322C2.2040803@orcaware.com> <5187E26A.5050202@orcaware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 05/07/2013 01:28 AM, aaron morton wrote: >> I have also been changing types, e.g. lock_tokens__ from MAP> BIGINT> to MAP. > The error looks like the schema was changed and a log replayed from > before the change. Which obviously is not something we would expect to > happen. > Do you change the map type using ALTER TABLE (not sure if that is > possible) or dropping / re-creating? I think I tried ALTER TABLE but it doesn't work. In any case, I would always drop the table and recreate it. >> BTW, would a drain before running '/etc/init.d/cassandra stop' have >> helped? > Probably not. > Drain is designed to stop processing writes, flush everything from > memory to disk and mark the commit log segments as no longer needed. > > If you notice it again can you take note of the order of operations > around dropping, creating or modifying the schema and restarting ? Sure, but I can tell you that it was many drops and creates, probably over 10, followed by a restart. All the drop, create and shutdown operations were done in serial. Blair