[ 
https://issues.apache.org/jira/browse/CASSANDRA-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

gabriele renzi updated CASSANDRA-914:
-------------------------------------

    Attachment: CASSANDRA-914.patch

adds "-" as a valid character in Identitifier rules (used for keyspace, column 
family, hostname). All test still passing, but none added.  It's probably 
easier to rewrite the patch than apply it.

> CLI does not allow connection to hostname with dashes
> -----------------------------------------------------
>
>                 Key: CASSANDRA-914
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-914
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: gabriele renzi
>            Priority: Minor
>         Attachments: CASSANDRA-914.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> the cli syntax does not allow a dash in an identifier, which means that it is 
> impossible to connect to a hostname such as foo-bar.com. 
> It also forbids it in keyspace and column family names while it seems they 
> are both supported by cassandra itself. 
> Adding "_" as an allowed "identifier" character seems to fix both problems. I 
> think the grammar is still broken in that it allows "_" in hostnames, but 
> that seems a non issue. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to