cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mason Bryant (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1203) system_drop_keyspace can cause a node to be unstartable
Date Thu, 17 Jun 2010 21:29:22 GMT
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.


Mime
View raw message