You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alexey Zotov (JIRA)" <ji...@apache.org> on 2013/01/18 12:02:12 UTC

[jira] [Commented] (CASSANDRA-5165) Need to trim DC and RACK names in cassandra-topology.properties file

    [ https://issues.apache.org/jira/browse/CASSANDRA-5165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557137#comment-13557137 ] 

Alexey Zotov commented on CASSANDRA-5165:
-----------------------------------------

Thanks!
                
> Need to trim DC and RACK names in cassandra-topology.properties file
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-5165
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5165
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.6
>         Environment: cassandra-1.1.6 (DataStax distribution).
>            Reporter: Alexey Zotov
>            Assignee: Alexey Zotov
>            Priority: Minor
>              Labels: snitch
>             Fix For: 1.2.1
>
>         Attachments: cassandra-1.2-5165_trim_spaces.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira