You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gary Dusbabek (JIRA)" <ji...@apache.org> on 2010/06/23 00:02:59 UTC
[jira] Updated: (CASSANDRA-1203) system_drop_keyspace can cause a
node to be unstartable
[ https://issues.apache.org/jira/browse/CASSANDRA-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Dusbabek updated CASSANDRA-1203:
-------------------------------------
Attachment: 0001-handle-schema-loading-when-a-node-has-had-all-keyspa.patch
> 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
> Assignee: Gary Dusbabek
> Fix For: 0.7
>
> Attachments: 0001-handle-schema-loading-when-a-node-has-had-all-keyspa.patch
>
>
> 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.