Cassandra Streaming error - Unknown keyspace system_traces -
in our dev cluster, has been running smooth before, when replace node (which have been doing constantly) following failure occurs , prevents replacement node joining.
cassandra version 2.0.7
what can done it?
error [stream-in-/10.128.---.---] 2014-11-19 12:35:58,007 streamsession.java (line 420) [stream #9cad81f0-6fe8-11e4-b575-4b49634010a9] streaming error occurred java.lang.assertionerror: unknown keyspace system_traces @ org.apache.cassandra.db.keyspace.<init>(keyspace.java:260) @ org.apache.cassandra.db.keyspace.open(keyspace.java:110) @ org.apache.cassandra.db.keyspace.open(keyspace.java:88) @ org.apache.cassandra.streaming.streamsession.addtransferranges(streamsession.java:239) @ org.apache.cassandra.streaming.streamsession.prepare(streamsession.java:436) @ org.apache.cassandra.streaming.streamsession.messagereceived(streamsession.java:368) @ org.apache.cassandra.streaming.connectionhandler$incomingmessagehandler.run(connectionhandler.java:289) @ java.lang.thread.run(thread.java:745)
i got same error while trying setup cluster, , experimenting different switches in cassandra.yaml, restarted service multiple times , removed system dir under data directory (/var/lib/cassandra/data mentioned here).
i guess reason cassandra tries load system_traces keyspace , fails (the other dir under /var/lib/cassandra/data), , nodetool throws error. can remove both system , system_traces before starting cassandra service, or better delete content of bommitlog, data , savedcache there.
this works if dont have data yet in system.
Comments
Post a Comment