cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1286) Nodetool ring crashes when no schema is loaded
Date Mon, 02 Aug 2010 12:27:18 GMT

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

Gary Dusbabek commented on CASSANDRA-1286:
------------------------------------------

We should be able to get ring data by directly consulting TokenMetadata (no need to collect
range information which is what the keyspace argument gives us).

> Nodetool ring crashes when no schema is loaded
> ----------------------------------------------
>
>                 Key: CASSANDRA-1286
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1286
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7 beta 1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7.0
>
>
> Nodetool ring uses SP.getRangeToEndpointMap(null) that tries to retrieve the first non
system keyspace.
> Hences it crashes (with a IndexOutOfBoundsException) if no schema is loaded.
> Should we return a nice little error message or make it work even no schema is loaded
?

-- 
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