From commits-return-15081-apmail-cassandra-commits-archive=cassandra.apache.org@cassandra.apache.org Thu Jun 17 21:29:48 2010 Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 33184 invoked from network); 17 Jun 2010 21:29:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jun 2010 21:29:48 -0000 Received: (qmail 95235 invoked by uid 500); 17 Jun 2010 21:29:47 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 95216 invoked by uid 500); 17 Jun 2010 21:29:47 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 95208 invoked by uid 99); 17 Jun 2010 21:29:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 21:29:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 21:29:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5HLTMx4015758 for ; Thu, 17 Jun 2010 21:29:23 GMT Message-ID: <26207794.65251276810162813.JavaMail.jira@thor> Date: Thu, 17 Jun 2010 17:29:22 -0400 (EDT) From: "Mason Bryant (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Created: (CASSANDRA-1203) system_drop_keyspace can cause a node to be unstartable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org system_drop_keyspace can cause a node to be unstartable ------------------------------------------------------- Key: CASSANDRA-1203 URL: https://issues.apache.org/jira/browse/CASSANDRA-1203 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 0.7 Environment: Mac OS X 10.6.3 (10D573) / Darwin 10.3.0 Reporter: Mason Bryant calling thriftClient_.system_drop_keyspace(keyspaceName) on a newly created keyspace, then stopping the node renders the node unstartable. Results in the following stacktrace: 10/06/17 14:23:16 ERROR thrift.CassandraDaemon: Fatal exception during initialization java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:180) at java.io.DataInputStream.readUTF(DataInputStream.java:592) at java.io.DataInputStream.readUTF(DataInputStream.java:547) at org.apache.cassandra.config.KSMetaData.deserialize(KSMetaData.java:92) at org.apache.cassandra.db.DefsTable.loadFromStorage(DefsTable.java:75) at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:422) at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:103) at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:90) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:221) my repro: start new node with empty data directory create a new keyspace drop the keyspace attempt to restart the node, notice that it fails to start. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.