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

Need to trim DC and RACK names in cassandra-topology.properties file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.1
    • None
    • cassandra-1.1.6 (DataStax distribution).

    • Low

    Description

      Some misprints in cassandra-topology.properties file can be painful for debugging. For example extra symbols at the end of line like a space. So difference between "DC1:RACK1" and "DC1:RACK1 " couldn't be detected using nodetool ring command.

      I think that symbols like a space shouldn't be allowed in DC/RACK names. So I suggest to trim them.

      The patch has been attached.

      Attachments

        Activity

          People

            azotcsit Aleksei Zotov
            azotcsit Aleksei Zotov
            Aleksei Zotov
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: