You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2015/12/04 19:17:10 UTC

[jira] [Commented] (CASSANDRA-9628) "Unknown keyspace system_traces" exception when using nodetool on a new cluster

    [ https://issues.apache.org/jira/browse/CASSANDRA-9628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041898#comment-15041898 ] 

Ariel Weisberg commented on CASSANDRA-9628:
-------------------------------------------

I am +1 on the improved error message, but if we are going to resolve this it would be as not reproducible. We have two users who claim it is reproducible which implies that we are just not getting/following the correct reproduction steps.

What they are describing is that it remains in a broken state until they create a table and that it's not a race that is resolved by bootstrap completing? [~tzach] [~evanv] is that accurate?

> "Unknown keyspace system_traces" exception when using nodetool on a new cluster
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9628
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9628
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: tzach
>            Assignee: Carl Yeksigian
>            Priority: Minor
>             Fix For: 2.1.x
>
>
> When creating a new cluster from scratch,  nodetool status fails on system_traces as follow
> {code}
> $ 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)
> ...
> {code}
> the problem disappear when creating an empty keyspace
> {code}
> cqlsh> create keyspace temp WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 2 };
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)