[ https://issues.apache.org/jira/browse/CASSANDRA-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884331#action_12884331 ]
Jonathan Ellis commented on CASSANDRA-1203: ------------------------------------------- +1 (s/No tables where/No schema definitions were/) > 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.