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

Fix incorrect nodetool suggestion when gossip mode is running

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.1
    • Cluster/Schema
    • None

    Description

      In trunk, when data directories were present with older system tables starting up Cassandra produces the following error:

      NoHostAvailable: ('Unable to complete the operation against any hosts', {<Host: 127.0.0.1:9042 datacenter1>: <Error from server: code=0000 [Server error] message="java.lang.IllegalStateException: Can't commit transformations when running in gossip mode. Enable the ClusterMetadataService with `nodetool addtocms`.">})
      

      The correct error message should state the the command to run is nodetool cms initialize instead.

      Attachments

        1. ci_summary.html
          94 kB
          Francisco Guerrero

        Activity

          People

            frankgh Francisco Guerrero
            frankgh Francisco Guerrero
            Francisco Guerrero
            Doug Rohrer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: