You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2010/08/02 17:09:16 UTC
[jira] Updated: (CASSANDRA-1286) Nodetool ring crashes when no
schema is loaded
[ https://issues.apache.org/jira/browse/CASSANDRA-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Lebresne updated CASSANDRA-1286:
----------------------------------------
Attachment: 1286-Don-t-use-ranges-to-print-the-ring-with-nodetool.patch
Attaching a patch that follows Gary suggestion. It simply exposes the
map of tokens -> endpoint (including the boostrapping ones).
This fixes the ring when no schema is loaded at least.
> 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
>
> Attachments: 1286-Don-t-use-ranges-to-print-the-ring-with-nodetool.patch
>
>
> 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.