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

Carl Yeksigian commented on CASSANDRA-9628:
-------------------------------------------

I have been unable to reproduce this locally, but it seems like this is being 
called before we have created or streamed {{system_traces}}, which will be 
accomplished by the time we join the ring. I've pushed a branch which makes the 
error messages more decipherable.

|| 2.1 || 2.2 || 3.0 || trunk ||
|[branch|https://github.com/carlyeks/cassandra/tree/ticket/9628/2.1] | 
[branch|https://github.com/carlyeks/cassandra/tree/ticket/9628/2.2] | 
[branch|https://github.com/carlyeks/cassandra/tree/ticket/9628/3.0] | 
[branch|https://github.com/carlyeks/cassandra/tree/ticket/9628/trunk]|
|[utest|http://cassci.datastax.com/job/carlyeks-ticket-9628-2.1-testall/] | 
[utest|http://cassci.datastax.com/job/carlyeks-ticket-9628-2.2-testall/] | 
[utest|http://cassci.datastax.com/job/carlyeks-ticket-9628-3.0-testall/] | 
[utest|http://cassci.datastax.com/job/carlyeks-ticket-9628-trunk-testall/]|
|[dtest|http://cassci.datastax.com/job/carlyeks-ticket-9628-2.1-dtest/] | 
[dtest|http://cassci.datastax.com/job/carlyeks-ticket-9628-2.2-dtest/] | 
[dtest|http://cassci.datastax.com/job/carlyeks-ticket-9628-3.0-dtest/] | 
[dtest|http://cassci.datastax.com/job/carlyeks-ticket-9628-trunk-dtest/]|

> "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: Core
>            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)

Reply via email to