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

Nodetool ring crashes when no schema is loaded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 1
    • Tool/nodetool
    • None
    • 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

            slebresne Sylvain Lebresne
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: