You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (Created) (JIRA)" <ji...@apache.org> on 2011/09/27 15:51:11 UTC

[jira] [Created] (CASSANDRA-3263) Whitespace in SimpleSeedProvider string makes seed ignored

Whitespace in SimpleSeedProvider string makes seed ignored
----------------------------------------------------------

                 Key: CASSANDRA-3263
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8.6, 0.8.5, 0.8.4
            Reporter: Marcus Eriksson
            Priority: Minor
             Fix For: 1.0.0
         Attachments: 3263.txt

If a seeds given to SimpleSeedProvider contains whitespace, the seed will be ignored

for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.

patch simply trim()s the host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3263) Whitespace in SimpleSeedProvider string makes seed ignored

Posted by "Marcus Eriksson (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Eriksson updated CASSANDRA-3263:
---------------------------------------

    Attachment: 3263.txt
    
> Whitespace in SimpleSeedProvider string makes seed ignored
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-3263
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.4, 0.8.5, 0.8.6
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3263.txt
>
>
> If a seeds given to SimpleSeedProvider contains whitespace, the seed will be ignored
> for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.
> patch simply trim()s the host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3263) Whitespace in SimpleSeedProvider string makes seed ignored

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3263:
--------------------------------------

    Affects Version/s:     (was: 0.8.6)
                           (was: 0.8.5)
                           (was: 0.8.4)
                       0.8.0
    
> Whitespace in SimpleSeedProvider string makes seed ignored
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-3263
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3263.txt
>
>
> If a seeds given to SimpleSeedProvider contains whitespace, the seed will be ignored
> for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.
> patch simply trim()s the host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3263) Whitespace in SimpleSeedProvider string makes seed ignored

Posted by "Jordan Pittier (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120076#comment-13120076 ] 

Jordan Pittier commented on CASSANDRA-3263:
-------------------------------------------

trim() removes only leading and trailing whitespaces.

I would go for host.replace(" ", "") instead. 
                
> Whitespace in SimpleSeedProvider string makes seed ignored
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-3263
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3263.txt
>
>
> If a seeds given to SimpleSeedProvider contains whitespace, the seed will be ignored
> for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.
> patch simply trim()s the host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3263) Whitespace in SimpleSeedProvider string makes seed ignored

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3263:
--------------------------------------

    Assignee: Marcus Eriksson
    
> Whitespace in SimpleSeedProvider string makes seed ignored
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-3263
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3263.txt
>
>
> If a seeds given to SimpleSeedProvider contains whitespace, the seed will be ignored
> for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.
> patch simply trim()s the host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3263) Whitespace in SimpleSeedProvider string makes seed ignored

Posted by "Jordan Pittier (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jordan Pittier updated CASSANDRA-3263:
--------------------------------------

    Comment: was deleted

(was: trim() removes only leading and trailing whitespaces.

I would go for host.replace(" ", "") instead. )
    
> Whitespace in SimpleSeedProvider string makes seed ignored
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-3263
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3263.txt
>
>
> If a seeds given to SimpleSeedProvider contains whitespace, the seed will be ignored
> for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.
> patch simply trim()s the host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3263) Whitespace in SimpleSeedProvider string makes seed ignored

Posted by "Marcus Eriksson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115683#comment-13115683 ] 

Marcus Eriksson commented on CASSANDRA-3263:
--------------------------------------------

of course i meant that only 1.2.3.4 will became a seed in the example in the description..
                
> Whitespace in SimpleSeedProvider string makes seed ignored
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-3263
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.4, 0.8.5, 0.8.6
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3263.txt
>
>
> If a seeds given to SimpleSeedProvider contains whitespace, the seed will be ignored
> for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.
> patch simply trim()s the host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira