Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1286

Nodetool ring crashes when no schema is loaded

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.7 beta 1
    • Component/s: Tool/nodetool
    • Labels:
      None
    • Severity:
      Low

      Description

      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 ?

        Attachments

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              slebresne Sylvain Lebresne
              Authors:
              Sylvain Lebresne
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: