Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Cannot Reproduce
-
None
-
None
-
Low
Description
When creating a new cluster from scratch, nodetool status fails on system_traces as follow
$ nodetool status error: Unknown keyspace system_traces -- StackTrace -- java.lang.AssertionError: Unknown keyspace system_traces at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:270) at org.apache.cassandra.db.Keyspace.open(Keyspace.java:119) at org.apache.cassandra.db.Keyspace.open(Keyspace.java:96) ...
the problem disappear when creating an empty keyspace
cqlsh> create keyspace temp WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 2 };
My guess is system_traces initialization complete only after any data insertion.
Before it does, any attempt to read from it either from nodetool, cqlsh or streaming to a new node will fail.